File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -36,17 +36,17 @@ TARGET_ALIAS="dvp"
3636TARG_XTRA_OPTS=" "
3737OSVER=$( uname)
3838
39- # # If using MacOS Apple, set gmp and mpfr paths using TARG_XTRA_OPTS
39+ # # If using MacOS Apple, set gmp and mpfr paths using TARG_XTRA_OPTS
4040# # (this is needed for Apple Silicon but we will do it for all MacOS systems)
4141if [ " $( uname -s) " = " Darwin" ]; then
4242 # # Check if using brew
4343 if command -v brew & > /dev/null; then
44- TARG_XTRA_OPTS=" --with-gmp=$( brew --prefix gmp) --with-mpfr=$( brew --prefix mpfr) "
44+ TARG_XTRA_OPTS=" --with-system-zlib --with- gmp=$( brew --prefix gmp) --with-mpfr=$( brew --prefix mpfr) "
4545 elif command -v port & > /dev/null; then
4646 # # Check if using MacPorts
4747 MACPORT_BASE=$( dirname ` port -q contents gmp| grep gmp.h` | sed s#/include## g)
4848 echo Macport base is $MACPORT_BASE
49- TARG_XTRA_OPTS=" --with-gmp=$MACPORT_BASE --with-mpfr=$MACPORT_BASE "
49+ TARG_XTRA_OPTS=" --with-system-zlib --with- gmp=$MACPORT_BASE --with-mpfr=$MACPORT_BASE "
5050 fi
5151fi
5252
You can’t perform that action at this time.
0 commit comments