From 7dea8e7356f53b5799a6eba810804d2e22d2de65 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Tue, 10 Dec 2024 14:31:07 +0100 Subject: [PATCH] xcframework: build full builds by default --- dist-build/apple-xcframework.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dist-build/apple-xcframework.sh b/dist-build/apple-xcframework.sh index 3abc4d0a..9352422e 100755 --- a/dist-build/apple-xcframework.sh +++ b/dist-build/apple-xcframework.sh @@ -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 "They can be safely ignored." echo -echo "Define the LIBSODIUM_FULL_BUILD environment variable to build the full" -echo "library (including all deprecated/undocumented/low-level functions)." +echo "Define the LIBSODIUM_MINIMAL_BUILD environment variable to build a" +echo "library without deprecated/undocumented/low-level functions." echo echo "Define the LIBSODIUM_SKIP_SIMULATORS environment variable to skip building" echo "the simulators libraries (iOS, watchOS, tvOS, visionOS simulators)." echo -if [ -z "$LIBSODIUM_FULL_BUILD" ]; then +if [ "$LIBSODIUM_MINIMAL_BUILD" ]; then export LIBSODIUM_ENABLE_MINIMAL_FLAG="--enable-minimal" else export LIBSODIUM_ENABLE_MINIMAL_FLAG=""