fixed cp2k libcp2k.pc (#32349)
Co-authored-by: Prasanthi <pdonthir@amd.com>
This commit is contained in:
parent
c2291f7eb3
commit
6fb13c0fc5
@ -761,6 +761,7 @@ def fix_package_config(self):
|
|||||||
In case such approach causes issues in the future, it might be necessary
|
In case such approach causes issues in the future, it might be necessary
|
||||||
to generate and override entire libcp2k.pc.
|
to generate and override entire libcp2k.pc.
|
||||||
"""
|
"""
|
||||||
|
if self.spec.satisfies("@9.1:"):
|
||||||
with open(join_path(self.prefix.lib.pkgconfig, "libcp2k.pc"), "r+") as handle:
|
with open(join_path(self.prefix.lib.pkgconfig, "libcp2k.pc"), "r+") as handle:
|
||||||
content = handle.read().rstrip()
|
content = handle.read().rstrip()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user