Make the output more readable

This commit is contained in:
Frank Denis 2014-12-10 21:27:10 -08:00
parent d8deef19ef
commit 1ee6da8107

View File

@ -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