summaryrefslogtreecommitdiffstats
path: root/scripts/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build.sh')
-rwxr-xr-xscripts/build.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/build.sh b/scripts/build.sh
index 406bcbb08..8e2381e6e 100755
--- a/scripts/build.sh
+++ b/scripts/build.sh
@@ -274,7 +274,9 @@ if [[ $PLATFORM = Darwin && "$BUILD_DEPS" == "1" ]] ; then
pushd libzip
mkdir -p build
cd build
- ../configure CFLAGS="$OLDER_MAC" --prefix=$INSTALL_ROOT
+ cmake $OLDER_MAC_CMAKE -DCMAKE_BUILD_TYPE=$DEBUGRELEASE \
+ -DCMAKE_INSTALL_PREFIX=$INSTALL_ROOT \
+ ..
make -j4
make install
popd