Index: build/linux/system.gyp |
diff --git a/build/linux/system.gyp b/build/linux/system.gyp |
index 6e8a8bebf27085db200729138adfa00af8fdeabc..6b4555bc72d67af694cf33839b3d90086a3370ac 100644 |
--- a/build/linux/system.gyp |
+++ b/build/linux/system.gyp |
@@ -314,7 +314,7 @@ |
'target_name': 'libgcrypt', |
'type': 'settings', |
'conditions': [ |
- ['_toolset=="target"', { |
+ ['_toolset=="target" and use_cups==1', { |
'direct_dependent_settings': { |
'cflags': [ |
'<!@(libgcrypt-config --cflags)', |