summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2023-01-06 16:32:28 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2023-01-06 16:32:28 (GMT)
commit22bcc07b004ca5670ff29c6aaeedbdea6db36e73 (patch)
tree3008b70f7969a480500ccefb48510ed04734148c
parent235c3428d9a76bc94aca900b569280c80215b9c2 (diff)
downloadtk-22bcc07b004ca5670ff29c6aaeedbdea6db36e73.zip
tk-22bcc07b004ca5670ff29c6aaeedbdea6db36e73.tar.gz
tk-22bcc07b004ca5670ff29c6aaeedbdea6db36e73.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 876d417..67fcf65 100755
--- a/unix/configure
+++ b/unix/configure
@@ -5490,7 +5490,7 @@ printf "%s\n" "#define MODULE_SCOPE __private_extern__" >>confdefs.h
fi
CC_SEARCH_FLAGS=""
LD_SEARCH_FLAGS=""
- LD_LIBRARY_PATH_VAR="DYLD_LIBRARY_PATH"
+ LD_LIBRARY_PATH_VAR="DYLD_FALLBACK_LIBRARY_PATH"
printf "%s\n" "#define MAC_OSX_TCL 1" >>confdefs.h
diff --git a/unix/tcl.m4 b/unix/tcl.m4
index 3730343..b85bcdf 100644
--- a/unix/tcl.m4
+++ b/unix/tcl.m4
@@ -1459,7 +1459,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}'