armpl-gcc: fix PKG_CONFIG_PATH for 23.04 (#37001)
This commit is contained in:
parent
cd2893640d
commit
2ca049e74a
1 changed files with 3 additions and 1 deletions
|
@ -350,7 +350,9 @@ def make_pkgconfig_files(self):
|
|||
symlink(f, f + ".pc")
|
||||
|
||||
def setup_dependent_build_environment(self, env, dependent_spec):
|
||||
armpl_dir = get_armpl_prefix(self.spec)
|
||||
if self.spec.satisfies("@:22"):
|
||||
# pkgconfig directory is not in standard ("lib", "lib64", "share") location
|
||||
armpl_dir = get_armpl_prefix(self.spec)
|
||||
env.append_path("PKG_CONFIG_PATH", join_path(armpl_dir, "pkgconfig"))
|
||||
else:
|
||||
env.append_path("PKG_CONFIG_PATH", join_path(armpl_dir, "lib/pkgconfig"))
|
||||
|
|
Loading…
Reference in a new issue