Index: src/common/SConstruct |
diff --git a/src/common/SConstruct b/src/common/SConstruct |
index 73e4d04613e3d47534113eaf7b8b41df39f95463..834f1c5920cd91cd7586b925f8d2abab81b1646d 100644 |
--- a/src/common/SConstruct |
+++ b/src/common/SConstruct |
@@ -19,8 +19,9 @@ for key in Split('CC CXX AR RANLIB LD NM CFLAGS CCFLAGS'): |
env[key] = value |
# Fix up the pkg-config path if it is present in the environment. |
tedbo
2010/01/08 18:03:24
Please fix up the comment as well. Could be:
# Fi
cjwatson
2010/01/08 18:57:01
Done for all files. Thanks.
|
-if os.environ.has_key('PKG_CONFIG_PATH'): |
- env['ENV']['PKG_CONFIG_PATH'] = os.environ['PKG_CONFIG_PATH'] |
+for key in Split('PKG_CONFIG_LIBDIR PKG_CONFIG_PATH'): |
+ if os.environ.has_key(key): |
+ env['ENV'][key] = os.environ[key] |
# glib and dbug environment |
env.ParseConfig('pkg-config --cflags --libs dbus-1 glib-2.0 dbus-glib-1') |