summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2023-01-06 16:56:14 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2023-01-06 16:56:14 (GMT)
commit72eb4e42290dccb6db60a66a085c355fb1e779e9 (patch)
tree5a44385e9e087923c1c08bf09f2ec088437f7168
parent7be69be5fe039ab0840432baa8d07bb448f19393 (diff)
downloadtcl-72eb4e42290dccb6db60a66a085c355fb1e779e9.zip
tcl-72eb4e42290dccb6db60a66a085c355fb1e779e9.tar.gz
tcl-72eb4e42290dccb6db60a66a085c355fb1e779e9.tar.bz2
Fix [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 8981ef8..94ecfc6 100755
--- a/unix/configure
+++ b/unix/configure
@@ -7898,7 +7898,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}'