diff options
author | Larry Aasen <larryaasen@gmail.com> | 2017-12-12 19:12:54 -0500 |
---|---|---|
committer | Nico Williams <nico@cryptonector.com> | 2017-12-12 18:27:59 -0600 |
commit | 61edf3fa93f6177ef099b1b0cb2b49813a35c546 (patch) | |
tree | aa3708ccb6a4f3ba2a1fcef72c0c51e5d780ce33 | |
parent | 8eff744eecb9ab2f43e75c70030bc9985bac18b2 (diff) |
Updated the compile-ios.sh script to fix issues with local oniguruma path.
-rwxr-xr-x | compile-ios.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/compile-ios.sh b/compile-ios.sh index 5d71dc35..1daa40d3 100755 --- a/compile-ios.sh +++ b/compile-ios.sh @@ -10,10 +10,10 @@ NJOBS="-j`sysctl -n hw.ncpu || echo 1`" # Get oniguruma -rm -rf $PWD/build/ios onig-5.9.5 -echo "Downloading oniguruma 5.9.5" +rm -rf $PWD/build/ios oniguruma-5.9.6 +echo "Downloading oniguruma 5.9.6" curl -L https://github.com/kkos/oniguruma/archive/v5.9.6.tar.gz | tar xz -cd oniguruma-5.9.5 +cd oniguruma-5.9.6 # So, we need to remake the configure scripts so that the arm64 architecture # exists in config.sub. In order to keep autoreconf from failing, create @@ -50,7 +50,7 @@ for arch in i386 x86_64 armv7 armv7s arm64; do # Build oniguruma for this architecture - cd onig-5.9.5 + cd oniguruma-5.9.6 CC=$CC CFLAGS=$CFLAGS LDFLAGS=$LDFLAGS ./configure --disable-shared --enable-static --host=$HOST --prefix=$ORIG_PWD/build/ios/$arch STATUS=$? if [ $STATUS -ne 0 ] |