summaryrefslogtreecommitdiffstats
path: root/unix/tcl.m4
diff options
context:
space:
mode:
authordas <das>2005-06-18 21:46:40 (GMT)
committerdas <das>2005-06-18 21:46:40 (GMT)
commitf9864f346be2acee6721e241f42b7840bbec9c3e (patch)
tree1c7d436e4f3cd06157b1bface2e2a5dc2918a3dd /unix/tcl.m4
parentdc7b4ae71649cd0d47f0f27aa88a411c0e65f782 (diff)
downloadtcl-f9864f346be2acee6721e241f42b7840bbec9c3e.zip
tcl-f9864f346be2acee6721e241f42b7840bbec9c3e.tar.gz
tcl-f9864f346be2acee6721e241f42b7840bbec9c3e.tar.bz2
*** 8.4.11 TAGGED FOR RELEASE ***
* generic/tclInt.h: ensure WORDS_BIGENDIAN is defined correctly with fat compiles on Darwin (i.e. ppc and i386 at the same time), the configure AC_C_BIGENDIAN check is not sufficient in this case because a single run of the compiler builds for two architectures with different endianness. * 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.13
Diffstat (limited to 'unix/tcl.m4')
-rw-r--r--unix/tcl.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/tcl.m4 b/unix/tcl.m4
index fc91c3d..4749011 100644
--- a/unix/tcl.m4
+++ b/unix/tcl.m4
@@ -1377,7 +1377,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"