summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-21 17:05:28 +0000
committerphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-21 17:05:28 +0000
commit52c3d437ae03483641f567f36d8e2d77a41aa656 (patch)
tree582b1428401556c738d0d9238fc26f1cca15fc9b /build
parentdac2f47d6547ebe853ca841086f65d2d47a30fa0 (diff)
downloadchromium_src-52c3d437ae03483641f567f36d8e2d77a41aa656.zip
chromium_src-52c3d437ae03483641f567f36d8e2d77a41aa656.tar.gz
chromium_src-52c3d437ae03483641f567f36d8e2d77a41aa656.tar.bz2
Linux: fix build when libgcrypt is not installed.
This is upstreaming of Gentoo Linux patch. BUG=none Review URL: http://codereview.chromium.org/7433015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93421 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build')
-rw-r--r--build/linux/system.gyp2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/linux/system.gyp b/build/linux/system.gyp
index 8d82eab..346fe22 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)',