mirror of
https://github.com/jedisct1/libsodium.git
synced 2024-12-20 10:37:24 -07:00
Make the output more readable
This commit is contained in:
parent
d8deef19ef
commit
1ee6da8107
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user