Skip to content

Commit

Permalink
Enabled full build of sodium
Browse files Browse the repository at this point in the history
  • Loading branch information
pfandrade committed Mar 12, 2019
1 parent f62fc6a commit c69104d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion Config/sodium.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,12 @@
// https://help.apple.com/xcode/#/dev745c5c974

SODIUM_VERSION = 1.0.17
BUILD_VERSION = 190308.0
BUILD_VERSION = 190312.0

DYLIB_COMPATIBILITY_VERSION = 1.0
DYLIB_CURRENT_VERSION = $(SODIUM_VERSION)
CURRENT_PROJECT_VERSION = $(BUILD_VERSION)

APPLICATION_EXTENSION_API_ONLY = YES

LIBSODIUM_FULL_BUILD = 1
4 changes: 2 additions & 2 deletions Scripts/build_sodium.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ SODIUM_OPTIONS="$LIBSODIUM_ENABLE_MINIMAL_FLAG --prefix=$SODIUM_INSTALL"
NPROCESSORS=$(getconf NPROCESSORS_ONLN 2>/dev/null || getconf _NPROCESSORS_ONLN 2>/dev/null)
PROCESSORS=${NPROCESSORS:-3}

echo "Creating $LIB_PRODUCT_NAME with $CONFIGURE_OPTIONS for architectures: $ARCHS"
echo "Creating $LIB_PRODUCT_NAME with $SODIUM_OPTIONS for architectures: $ARCHS"

for BUILDARCH in $ARCHS
do
Expand Down Expand Up @@ -110,4 +110,4 @@ echo "Copying Headers"
mkdir -p "$TARGET_BUILD_DIR/headers"
cp -RLf "$SODIUM_INSTALL/include/" "$TARGET_BUILD_DIR/headers"

make distclean > /dev/null
make distclean > /dev/null

0 comments on commit c69104d

Please sign in to comment.