Index: build/linux/system.gyp |
diff --git a/build/linux/system.gyp b/build/linux/system.gyp |
index ed88a0a7792e344670baec8b5514e9cc3b052cec..271feef900a3bb21612839a96e2d607bf3f0ac62 100644 |
--- a/build/linux/system.gyp |
+++ b/build/linux/system.gyp |
@@ -188,11 +188,14 @@ |
'target_name': 'gconf', |
'type': 'settings', |
'conditions': [ |
- ['_toolset=="target"', { |
+ ['use_gconf==1 and _toolset=="target"', { |
'direct_dependent_settings': { |
'cflags': [ |
'<!@(<(pkg-config) --cflags gconf-2.0)', |
], |
+ 'defines': [ |
+ 'USE_GCONF', |
+ ], |
}, |
'link_settings': { |
'ldflags': [ |