From 861557eb469024cd8a185b98f2b95ac604ea5442 Mon Sep 17 00:00:00 2001 From: "milanb@chromium.org" Date: Tue, 24 Jul 2012 16:27:15 +0000 Subject: 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 --- third_party/bzip2/bzip2.gyp | 25 +++++++++++++++++-------- 1 file changed, 17 insertions(+), 8 deletions(-) (limited to 'third_party/bzip2/bzip2.gyp') 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', + ], + }, + }], + ], }, - ] + ], }], ], } -- cgit v1.1