8000 Update PKG_CONFIG_PATH to include all libdirs · solvingj/portable-python@44d613d · GitHub
[go: up one dir, main page]

Skip to content

Commit 44d613d

Browse files
author
jwiltse
committed
Update PKG_CONFIG_PATH to include all libdirs
1 parent 58ae22b commit 44d613d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/portable_python/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,7 @@ def xenv_LD_LIBRARY_PATH(self):
561561
def xenv_PKG_CONFIG_PATH(self):
562562
yield from os.environ.get("PKG_CONFIG_PATH", "").split(":")
563563
if self.modules.selected:
564-
yield f"{self.deps_lib_dir}/pkgconfig"
564+
yield from (f"{lib_dir}/pkgconfig" for lib_dir in self.deps_lib_dirs)
565565

566566
def _do_run(self, program, *args, fatal=True, env=None):
567567
return runez.run(program, *args, passthrough=self._log_handler, stdout=None, stderr=None, fatal=fatal, env=env)

0 commit comments

Comments
 (0)
0