1
mirror of https://github.com/jedisct1/libsodium.git synced 2024-12-23 20:15:19 -07:00

Make watchos.sh looks like other scripts

This commit is contained in:
Frank Denis 2018-10-22 19:11:18 +02:00
parent 8f5a748335
commit 0d3640609e
2 changed files with 8 additions and 7 deletions

View File

@ -14,4 +14,5 @@ EXTRA_DIST = \
msys2-win64.sh \
nativeclient-pnacl.sh \
nativeclient-x86.sh \
nativeclient-x86_64.sh
nativeclient-x86_64.sh \
watchos.sh

View File

@ -2,16 +2,16 @@
#
# Step 1.
# Configure for base system so simulator is covered
#
#
# Step 2.
# Make for iOS and iOS simulator
#
# Step 3.
# Merge libs into final version for xcode import
export PREFIX="$(pwd)/libsodium-watchOS"
export WATCHOS32_PREFIX="$PREFIX/tmp/watchOS32"
export WATCHOS64_PREFIX="$PREFIX/tmp/watchOS64"
export PREFIX="$(pwd)/libsodium-watchos"
export WATCHOS32_PREFIX="$PREFIX/tmp/watchos32"
export WATCHOS64_PREFIX="$PREFIX/tmp/watchos64"
export SIMULATOR32_PREFIX="$PREFIX/tmp/simulator32"
export SIMULATOR64_PREFIX="$PREFIX/tmp/simulator64"
export XCODEDIR=$(xcode-select -p)
@ -110,5 +110,5 @@ echo
file -- "$PREFIX/lib/libsodium.a"
# Cleanup
# rm -rf -- "$PREFIX/tmp"
# make distclean > /dev/null
rm -rf -- "$PREFIX/tmp"
make distclean > /dev/null