From 1817f4dd6a95c82de249cdda682b0e5b173c092b Mon Sep 17 00:00:00 2001 From: Tim Edwards Date: Sun, 3 Dec 2023 20:32:05 -0500 Subject: [PATCH] Corrected the LDDL_FLAGS setting for Mac OS, which is to replace "-flat_namespace -undefined suppress -noprebind" to "-undefined dynamic_lookup" which is what was done in magic, which has a similar structure to netgen. --- VERSION | 2 +- scripts/configure | 2 +- scripts/configure.in | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/VERSION b/VERSION index c6fad45..3b66ac4 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.5.263 +1.5.264 diff --git a/scripts/configure b/scripts/configure index 3e87a98..2dff14b 100755 --- a/scripts/configure +++ b/scripts/configure @@ -6302,7 +6302,7 @@ fi *darwin*) SHDLIB_EXT=".dylib" - LDDL_FLAGS="-dynamiclib -flat_namespace -undefined suppress -noprebind" + LDDL_FLAGS="-dynamiclib -undefined dynamic_lookup" LDFLAGS="${LDFLAGS} ${LIB_SPECS}" CFLAGS="${CFLAGS} ${X_CFLAGS} ${INC_SPECS} -I/sw/include -fno-common" ;; diff --git a/scripts/configure.in b/scripts/configure.in index 2fd099f..6da14cd 100644 --- a/scripts/configure.in +++ b/scripts/configure.in @@ -1033,7 +1033,7 @@ fi *darwin*) SHDLIB_EXT=".dylib" - LDDL_FLAGS="-dynamiclib -flat_namespace -undefined suppress -noprebind" + LDDL_FLAGS="-dynamiclib -undefined dynamic_lookup" LDFLAGS="${LDFLAGS} ${LIB_SPECS}" CFLAGS="${CFLAGS} ${X_CFLAGS} ${INC_SPECS} -I/sw/include -fno-common" ;;