summaryrefslogtreecommitdiffstats
path: root/unix/tcl.m4
diff options
context:
space:
mode:
authordas <das>2005-06-18 21:45:01 (GMT)
committerdas <das>2005-06-18 21:45:01 (GMT)
commit6c01aeca56323105bfa7810baba82c7da8ee928d (patch)
tree6a0a7ee61b05e527de1d6c1f4889a5227f5e9c46 /unix/tcl.m4
parent1eab272665547e3f9be60541313af2b3c614c747 (diff)
downloadtcl-6c01aeca56323105bfa7810baba82c7da8ee928d.zip
tcl-6c01aeca56323105bfa7810baba82c7da8ee928d.tar.gz
tcl-6c01aeca56323105bfa7810baba82c7da8ee928d.tar.bz2
* 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.59
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 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"