summaryrefslogtreecommitdiffstats
path: root/third_party/bzip2/bzip2.gyp
diff options
context:
space:
mode:
authormilanb@chromium.org <milanb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-24 16:27:15 +0000
committermilanb@chromium.org <milanb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-24 16:27:15 +0000
commit861557eb469024cd8a185b98f2b95ac604ea5442 (patch)
treee42b313238f6f249072c8092c9eb9ce6feaab10b /third_party/bzip2/bzip2.gyp
parent4db586cdd3f168546c370ea0b123f306e811d6be (diff)
downloadchromium_src-861557eb469024cd8a185b98f2b95ac604ea5442.zip
chromium_src-861557eb469024cd8a185b98f2b95ac604ea5442.tar.gz
chromium_src-861557eb469024cd8a185b98f2b95ac604ea5442.tar.bz2
Use system bzip2 on iOS.
BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/10806010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148118 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party/bzip2/bzip2.gyp')
-rw-r--r--third_party/bzip2/bzip2.gyp25
1 files changed, 17 insertions, 8 deletions
diff --git a/third_party/bzip2/bzip2.gyp b/third_party/bzip2/bzip2.gyp
index 322eae0..49c1329 100644
--- a/third_party/bzip2/bzip2.gyp
+++ b/third_party/bzip2/bzip2.gyp
@@ -56,15 +56,24 @@
'USE_SYSTEM_LIBBZ2',
],
},
-
- # There aren't any pkg-config files for libbz2
- 'link_settings': {
- 'libraries': [
- '-lbz2',
- ],
- },
+ 'conditions': [
+ ['OS=="ios"', {
+ 'link_settings': {
+ 'libraries': [
+ '$(SDKROOT)/usr/lib/libbz2.dylib',
+ ],
+ },
+ }, {
+ # There aren't any pkg-config files for libbz2
+ 'link_settings': {
+ 'libraries': [
+ '-lbz2',
+ ],
+ },
+ }],
+ ],
},
- ]
+ ],
}],
],
}