mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-01 15:49:54 +00:00
Fixed invalid MacOS arch for 64-bit
This commit is contained in:
parent
829069b0c8
commit
4098e5e3b8
@ -228,7 +228,7 @@ elif [ "$COMPILE_TARGET" == "mac" ] || [ "$COMPILE_TARGET" == "mac32" ]; then
|
|||||||
elif [ "$COMPILE_TARGET" == "mac64" ]; then
|
elif [ "$COMPILE_TARGET" == "mac64" ]; then
|
||||||
[ -z "$march" ] && march=core2;
|
[ -z "$march" ] && march=core2;
|
||||||
[ -z "$mtune" ] && mtune=generic;
|
[ -z "$mtune" ] && mtune=generic;
|
||||||
CFLAGS="$CFLAGS -m64 -arch x86-64 -fomit-frame-pointer -mmacosx-version-min=10.5";
|
CFLAGS="$CFLAGS -m64 -arch x86_64 -fomit-frame-pointer -mmacosx-version-min=10.5";
|
||||||
LDFLAGS="$LDFLAGS -Wl,-rpath,@loader_path/../lib";
|
LDFLAGS="$LDFLAGS -Wl,-rpath,@loader_path/../lib";
|
||||||
export DYLD_LIBRARY_PATH="@loader_path/../lib"
|
export DYLD_LIBRARY_PATH="@loader_path/../lib"
|
||||||
OPENSSL_TARGET="darwin64-x86_64-cc"
|
OPENSSL_TARGET="darwin64-x86_64-cc"
|
||||||
@ -627,6 +627,7 @@ $HAVE_NCURSES \
|
|||||||
$HAVE_READLINE \
|
$HAVE_READLINE \
|
||||||
--enable-mbstring \
|
--enable-mbstring \
|
||||||
--enable-calendar \
|
--enable-calendar \
|
||||||
|
#--enable-weakref
|
||||||
--enable-pthreads \
|
--enable-pthreads \
|
||||||
--enable-pthreads-pedantic \
|
--enable-pthreads-pedantic \
|
||||||
--disable-libxml \
|
--disable-libxml \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user