Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(58)

Unified Diff: src/common/SConstruct

Issue 524073: Consistently pass through PKG_CONFIG_LIBDIR environment variable (Closed)
Patch Set: Created 10 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/platform/theme/SConstruct » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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')
« no previous file with comments | « no previous file | src/platform/theme/SConstruct » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698