Skip to content

Commit

Permalink
xcframework: build full builds by default
Browse files Browse the repository at this point in the history
  • Loading branch information
jedisct1 committed Dec 10, 2024
1 parent 6272f21 commit ec81b62
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dist-build/apple-xcframework.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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=""
Expand Down

0 comments on commit ec81b62

Please sign in to comment.