From 61edf3fa93f6177ef099b1b0cb2b49813a35c546 Mon Sep 17 00:00:00 2001 From: Larry Aasen Date: Tue, 12 Dec 2017 19:12:54 -0500 Subject: Updated the compile-ios.sh script to fix issues with local oniguruma path. --- compile-ios.sh | 8 ++++---- 1 file 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 ] -- cgit v1.2.3