Added -weak-lSystem to MacOS x86_64

This commit is contained in:
Shoghi Cervantes 2014-02-18 20:41:54 +01:00
parent 80e2a7e486
commit 15881d328d

View File

@ -59,7 +59,7 @@ elif [ "$1" == "mac64" ]; then
[ -z "$march" ] && march=core2;
[ -z "$mtune" ] && mtune=generic;
[ -z "$CFLAGS" ] && CFLAGS="-m64 -arch x86_64 -fomit-frame-pointer";
[ -z "$LDFLAGS" ] && LDFLAGS="-Wl,-rpath,@loader_path/../lib";
[ -z "$LDFLAGS" ] && LDFLAGS="-weak-lSystem -Wl,-rpath,@loader_path/../lib";
export DYLD_LIBRARY_PATH="@loader_path/../lib"
OPENSSL_TARGET="darwin64-x86_64-cc"
echo "[INFO] Compiling for Intel MacOS x86_64"