scons: propagate PKG_CONFIG_PATH when checking for library
fix pkg-config problem with on Fedora12, when nobug using a lib installed in non-standard paths
This commit is contained in:
parent
d11c57adb8
commit
9f76cbf3e9
1 changed files with 1 additions and 0 deletions
|
|
@ -74,6 +74,7 @@ class LumieraEnvironment(Environment):
|
|||
return False
|
||||
|
||||
self.libInfo[libID] = libInfo = LumieraEnvironment()
|
||||
libInfo["ENV"]["PKG_CONFIG_PATH"] = os.environ.get("PKG_CONFIG_PATH")
|
||||
libInfo.ParseConfig ('pkg-config --cflags --libs '+ libID )
|
||||
if alias:
|
||||
self.libInfo[alias] = libInfo
|
||||
|
|
|
|||
Loading…
Reference in a new issue