diff --git a/dist-build/ios.sh b/dist-build/ios.sh index 0f6a7fcd..3108aa12 100755 --- a/dist-build/ios.sh +++ b/dist-build/ios.sh @@ -20,10 +20,10 @@ mkdir -p $IOS_PREFIX $OSX_PREFIX || exit 1 --enable-minimal \ --prefix="$OSX_PREFIX" -make clean && make -j3 install +make clean > /dev/null && make -j3 install # Cleanup -make distclean +make distclean > /dev/null # Build for iOS export XCODEDIR=$(xcode-select -p) @@ -39,14 +39,16 @@ export LDFLAGS="-mthumb -arch armv7 -arch arm64 -isysroot ${SDK} -miphoneos-vers --enable-minimal \ --prefix="$IOS_PREFIX" -make clean && make -j3 install +make clean > /dev/null && make -j3 install # Create universal binary and include folder lipo -create "$IOS_PREFIX/lib/libsodium.a" "$OSX_PREFIX/lib/libsodium.a" -output "$PREFIX/libsodium.a" cp -r "$IOS_PREFIX/include" "$PREFIX/include" +echo echo "libsodium has been installed into $PREFIX" +echo # Cleanup rm -rf "$PREFIX/tmp" -make distclean +make distclean > /dev/null