From 50ba90e67c0e796aac8d057baea96de3c2b2c800 Mon Sep 17 00:00:00 2001 From: Chris Li Date: Mon, 17 Jun 2019 23:15:57 -0400 Subject: [PATCH] fix macOS cross build --- kiwixbuild/platforms/ios.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kiwixbuild/platforms/ios.py b/kiwixbuild/platforms/ios.py index 933eb06..1c8b693 100644 --- a/kiwixbuild/platforms/ios.py +++ b/kiwixbuild/platforms/ios.py @@ -50,7 +50,7 @@ class iOSPlatformInfo(PlatformInfo): env['CFLAGS'] = " -fembed-bitcode -isysroot {SDKROOT} -arch {arch} -miphoneos-version-min=9.0 ".format(SDKROOT=self.root_path, arch=self.arch) + env['CFLAGS'] env['CXXFLAGS'] = env['CFLAGS'] + " -stdlib=libc++ -std=c++11 "+env['CXXFLAGS'] env['LDFLAGS'] = " -arch {arch} -isysroot {SDKROOT} ".format(SDKROOT=self.root_path, arch=self.arch) - env['MACOSX_DEPLOYMENT_TARGET'] = "10.7" + env['MACOSX_DEPLOYMENT_TARGET'] = "10.10" def get_bin_dir(self): return [pj(self.root_path, 'bin')]