summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2023-01-06 16:35:15 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2023-01-06 16:35:15 (GMT)
commitae13b479c35afd9a14e375b8364a045df95d0bbc (patch)
tree0f316e564013cffb320e01421b67189baa4b282b
parent60ddddfc7cd740b62a5afc49c45402d58d733feb (diff)
downloadtk-ae13b479c35afd9a14e375b8364a045df95d0bbc.zip
tk-ae13b479c35afd9a14e375b8364a045df95d0bbc.tar.gz
tk-ae13b479c35afd9a14e375b8364a045df95d0bbc.tar.bz2
Fix [https://core.tcl-lang.org/tcl/tktview?name=ad393071c2|ad393071c2]: Use different LD_LIBRARY_PATH_VAR on macOS
-rwxr-xr-xunix/configure2
-rw-r--r--unix/tcl.m42
2 files changed, 2 insertions, 2 deletions
diff --git a/unix/configure b/unix/configure
index 59e8aab..54637a4 100755
--- a/unix/configure
+++ b/unix/configure
@@ -5794,7 +5794,7 @@ fi
CC_SEARCH_FLAGS=""
LD_SEARCH_FLAGS=""
- LD_LIBRARY_PATH_VAR="DYLD_LIBRARY_PATH"
+ LD_LIBRARY_PATH_VAR="DYLD_FALLBACK_LIBRARY_PATH"
cat >>confdefs.h <<\_ACEOF
#define MAC_OSX_TCL 1
diff --git a/unix/tcl.m4 b/unix/tcl.m4
index 6063847..6cee92c 100644
--- a/unix/tcl.m4
+++ b/unix/tcl.m4
@@ -1594,7 +1594,7 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [
])
CC_SEARCH_FLAGS=""
LD_SEARCH_FLAGS=""
- LD_LIBRARY_PATH_VAR="DYLD_LIBRARY_PATH"
+ LD_LIBRARY_PATH_VAR="DYLD_FALLBACK_LIBRARY_PATH"
AC_DEFINE(MAC_OSX_TCL, 1, [Is this a Mac I see before me?])
PLAT_OBJS='${MAC_OSX_OBJS}'
PLAT_SRCS='${MAC_OSX_SRCS}'