summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authordas <das>2005-06-18 21:46:02 (GMT)
committerdas <das>2005-06-18 21:46:02 (GMT)
commit1b6b31dc57b749dc2f61165e4389744699ada83d (patch)
tree424c86b8e56b4fc88b3f373760c4357fe320b60d /unix
parent269c0f37fabe9229c395ebdac5ec826438d103ec (diff)
downloadtk-1b6b31dc57b749dc2f61165e4389744699ada83d.zip
tk-1b6b31dc57b749dc2f61165e4389744699ada83d.tar.gz
tk-1b6b31dc57b749dc2f61165e4389744699ada83d.tar.bz2
* macosx/Makefile: for X11 build, add -X11 suffix to unversioned wish
symbolic link. * unix/tcl.m4 (Darwin): add -headerpad_max_install_names to LDFLAGS to ensure we can always relocate binaries with install_name_tool. * unix/configure: autoconf-2.59
Diffstat (limited to 'unix')
-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 edf3ec6..8d46a61 100755
--- a/unix/configure
+++ b/unix/configure
@@ -5704,7 +5704,7 @@ echo "${ECHO_T}$tcl_cv_ld_single_module" >&6
SHLIB_SUFFIX=".dylib"
DL_OBJS="tclLoadDyld.o"
DL_LIBS=""
- LDFLAGS="$LDFLAGS -prebind"
+ LDFLAGS="$LDFLAGS -prebind -headerpad_max_install_names"
echo "$as_me:$LINENO: checking if ld accepts -search_paths_first flag" >&5
echo $ECHO_N "checking if ld accepts -search_paths_first flag... $ECHO_C" >&6
if test "${tcl_cv_ld_search_paths_first+set}" = set; then
diff --git a/unix/tcl.m4 b/unix/tcl.m4
index 1402309..74c181b 100644
--- a/unix/tcl.m4
+++ b/unix/tcl.m4
@@ -1423,7 +1423,7 @@ dnl AC_CHECK_TOOL(AR, ar)
SHLIB_SUFFIX=".dylib"
DL_OBJS="tclLoadDyld.o"
DL_LIBS=""
- LDFLAGS="$LDFLAGS -prebind"
+ LDFLAGS="$LDFLAGS -prebind -headerpad_max_install_names"
AC_CACHE_CHECK([if ld accepts -search_paths_first flag], tcl_cv_ld_search_paths_first, [
hold_ldflags=$LDFLAGS
LDFLAGS="$LDFLAGS -Wl,-search_paths_first"