aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
authorGravatar Hoa V. DINH <dinh.viet.hoa@gmail.com>2015-09-16 23:47:21 -0700
committerGravatar Hoa V. DINH <dinh.viet.hoa@gmail.com>2015-09-16 23:47:21 -0700
commit20d9b983d7a65d597b60d1df415abe728428a31d (patch)
treeb03194d40ea1e8bd30119693c713342bc946d541 /scripts
parentf00b6deae2c3688383d0a9e8552532f2a6651607 (diff)
Support of bitcode in libetpan
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build-libetpan-ios.sh2
-rw-r--r--scripts/deps-versions.plistbin239 -> 655 bytes
-rwxr-xr-xscripts/include.sh/build-dep.sh7
3 files changed, 6 insertions, 3 deletions
diff --git a/scripts/build-libetpan-ios.sh b/scripts/build-libetpan-ios.sh
index 75cdc0d7..a6a2ac24 100755
--- a/scripts/build-libetpan-ios.sh
+++ b/scripts/build-libetpan-ios.sh
@@ -7,7 +7,7 @@ popd > /dev/null
. "$scriptpath/include.sh/build-dep.sh"
url="https://github.com/dinhviethoa/libetpan.git"
-rev=84b22f9aa6467c97c214dc67a952de5b7a3d3d76
+rev=fd95586c4140c4a40fd4a6ccd68fc8ddc4deca75
name="libetpan-ios"
xcode_target="libetpan ios"
xcode_project="libetpan.xcodeproj"
diff --git a/scripts/deps-versions.plist b/scripts/deps-versions.plist
index 0ffee26b..2a70169e 100644
--- a/scripts/deps-versions.plist
+++ b/scripts/deps-versions.plist
Binary files differ
diff --git a/scripts/include.sh/build-dep.sh b/scripts/include.sh/build-dep.sh
index 714c4a6c..c3dcd4aa 100755
--- a/scripts/include.sh/build-dep.sh
+++ b/scripts/include.sh/build-dep.sh
@@ -67,14 +67,14 @@ build_git_ios()
cd "$srcdir/$name/build-mac"
sdk="iphoneos$sdkversion"
echo building $sdk
- xctool -project "$xcode_project" -sdk $sdk -scheme "$xcode_target" -configuration Release SYMROOT="$tmpdir/bin" OBJROOT="$tmpdir/obj" ARCHS="$devicearchs" IPHONEOS_DEPLOYMENT_TARGET="$sdkversion" OTHER_CFLAGS="-fembed-bitcode"
+ xctool -project "$xcode_project" -sdk $sdk -scheme "$xcode_target" -configuration Release SYMROOT="$tmpdir/bin" OBJROOT="$tmpdir/obj" ARCHS="$devicearchs" IPHONEOS_DEPLOYMENT_TARGET="$sdkversion" OTHER_CFLAGS='$(inherited) -fembed-bitcode'
if test x$? != x0 ; then
echo failed
exit 1
fi
sdk="iphonesimulator$sdkversion"
echo building $sdk
- xctool -project "$xcode_project" -sdk $sdk -scheme "$xcode_target" -configuration Release SYMROOT="$tmpdir/bin" OBJROOT="$tmpdir/obj" ARCHS="$simarchs" IPHONEOS_DEPLOYMENT_TARGET="$sdkversion" OTHER_CFLAGS="-fembed-bitcode"
+ xctool -project "$xcode_project" -sdk $sdk -scheme "$xcode_target" -configuration Release SYMROOT="$tmpdir/bin" OBJROOT="$tmpdir/obj" ARCHS="$simarchs" IPHONEOS_DEPLOYMENT_TARGET="$sdkversion" OTHER_CFLAGS='$(inherited) -fembed-bitcode'
if test x$? != x0 ; then
echo failed
exit 1
@@ -141,6 +141,7 @@ build_git_ios()
if test x$build_for_external != x1 ; then
defaults write "$versions_path" "$name" "$version"
+ plutil -convert xml1 "$versions_path"
fi
}
@@ -273,6 +274,7 @@ build_git_osx()
if test x$build_for_external != x1 ; then
defaults write "$versions_path" "$name" "$version"
+ plutil -convert xml1 "$versions_path"
fi
}
@@ -325,5 +327,6 @@ get_prebuilt_dep()
if test -d "$scriptpath/../Externals/$name" ; then
defaults write "$installed_versions_path" "$name" "$version"
+ plutil -convert xml1 "$installed_versions_path"
fi
}