1
mirror of https://github.com/jedisct1/libsodium.git synced 2024-12-19 01:55:02 -07:00

xcframework: build full builds by default

This commit is contained in:
Frank Denis 2024-12-10 14:31:07 +01:00
parent bfa6ee6386
commit 7dea8e7356

View File

@ -38,14 +38,14 @@ echo "Warnings related to headers being present but not usable are due to functi
echo "that didn't exist in the specified minimum iOS version level." echo "that didn't exist in the specified minimum iOS version level."
echo "They can be safely ignored." echo "They can be safely ignored."
echo echo
echo "Define the LIBSODIUM_FULL_BUILD environment variable to build the full" echo "Define the LIBSODIUM_MINIMAL_BUILD environment variable to build a"
echo "library (including all deprecated/undocumented/low-level functions)." echo "library without deprecated/undocumented/low-level functions."
echo echo
echo "Define the LIBSODIUM_SKIP_SIMULATORS environment variable to skip building" echo "Define the LIBSODIUM_SKIP_SIMULATORS environment variable to skip building"
echo "the simulators libraries (iOS, watchOS, tvOS, visionOS simulators)." echo "the simulators libraries (iOS, watchOS, tvOS, visionOS simulators)."
echo echo
if [ -z "$LIBSODIUM_FULL_BUILD" ]; then if [ "$LIBSODIUM_MINIMAL_BUILD" ]; then
export LIBSODIUM_ENABLE_MINIMAL_FLAG="--enable-minimal" export LIBSODIUM_ENABLE_MINIMAL_FLAG="--enable-minimal"
else else
export LIBSODIUM_ENABLE_MINIMAL_FLAG="" export LIBSODIUM_ENABLE_MINIMAL_FLAG=""