1
mirror of https://github.com/jedisct1/libsodium.git synced 2024-12-19 10:05:05 -07:00

OSX -> MACOS

This commit is contained in:
Frank Denis 2020-08-05 17:34:44 +02:00
parent c02379fe8e
commit 68b64b6ab8

View File

@ -1,7 +1,7 @@
#! /bin/sh
export PREFIX="$(pwd)/libsodium-osx"
export OSX_VERSION_MIN=${OSX_VERSION_MIN-"10.10"}
export MACOS_VERSION_MIN=${MACOS_VERSION_MIN-"10.10"}
if [ -z "$LIBSODIUM_FULL_BUILD" ]; then
export LIBSODIUM_ENABLE_MINIMAL_FLAG="--enable-minimal"
@ -14,8 +14,8 @@ PROCESSORS=${NPROCESSORS:-3}
mkdir -p $PREFIX || exit 1
export CFLAGS="-mmacosx-version-min=${OSX_VERSION_MIN} -O2 -g"
export LDFLAGS="-mmacosx-version-min=${OSX_VERSION_MIN}"
export CFLAGS="-mmacosx-version-min=${MACOS_VERSION_MIN} -O2 -g"
export LDFLAGS="-mmacosx-version-min=${MACOS_VERSION_MIN}"
make distclean >/dev/null
./configure ${LIBSODIUM_ENABLE_MINIMAL_FLAG} \