mirror of
https://github.com/jedisct1/libsodium.git
synced 2024-12-20 02:25:14 -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 \
|
--enable-minimal \
|
||||||
--prefix="$OSX_PREFIX"
|
--prefix="$OSX_PREFIX"
|
||||||
|
|
||||||
make clean && make -j3 install
|
make clean > /dev/null && make -j3 install
|
||||||
|
|
||||||
# Cleanup
|
# Cleanup
|
||||||
make distclean
|
make distclean > /dev/null
|
||||||
|
|
||||||
# Build for iOS
|
# Build for iOS
|
||||||
export XCODEDIR=$(xcode-select -p)
|
export XCODEDIR=$(xcode-select -p)
|
||||||
@ -39,14 +39,16 @@ export LDFLAGS="-mthumb -arch armv7 -arch arm64 -isysroot ${SDK} -miphoneos-vers
|
|||||||
--enable-minimal \
|
--enable-minimal \
|
||||||
--prefix="$IOS_PREFIX"
|
--prefix="$IOS_PREFIX"
|
||||||
|
|
||||||
make clean && make -j3 install
|
make clean > /dev/null && make -j3 install
|
||||||
|
|
||||||
# Create universal binary and include folder
|
# Create universal binary and include folder
|
||||||
lipo -create "$IOS_PREFIX/lib/libsodium.a" "$OSX_PREFIX/lib/libsodium.a" -output "$PREFIX/libsodium.a"
|
lipo -create "$IOS_PREFIX/lib/libsodium.a" "$OSX_PREFIX/lib/libsodium.a" -output "$PREFIX/libsodium.a"
|
||||||
cp -r "$IOS_PREFIX/include" "$PREFIX/include"
|
cp -r "$IOS_PREFIX/include" "$PREFIX/include"
|
||||||
|
|
||||||
|
echo
|
||||||
echo "libsodium has been installed into $PREFIX"
|
echo "libsodium has been installed into $PREFIX"
|
||||||
|
echo
|
||||||
|
|
||||||
# Cleanup
|
# Cleanup
|
||||||
rm -rf "$PREFIX/tmp"
|
rm -rf "$PREFIX/tmp"
|
||||||
make distclean
|
make distclean > /dev/null
|
||||||
|
Loading…
Reference in New Issue
Block a user