summaryrefslogtreecommitdiffstats
path: root/unix/tcl.m4
diff options
context:
space:
mode:
authordas <das@noemail.net>2005-04-09 10:15:54 (GMT)
committerdas <das@noemail.net>2005-04-09 10:15:54 (GMT)
commitf849636f88cbc5aa31fcc8238bd38173998e498d (patch)
treec37d2c17a655d923633d0c8c31df9839a9aa1814 /unix/tcl.m4
parentbf38ebd76ba6297cb950284aa1f56ffa98724d5a (diff)
downloadtcl-f849636f88cbc5aa31fcc8238bd38173998e498d.zip
tcl-f849636f88cbc5aa31fcc8238bd38173998e498d.tar.gz
tcl-f849636f88cbc5aa31fcc8238bd38173998e498d.tar.bz2
* unix/tcl.m4 (Darwin): added -single_module linker flag to
TCL_SHLIB_LD_EXTRAS and TK_SHLIB_LD_EXTRAS. * unix/configure: autoconf-2.59 FossilOrigin-Name: 227076fc7c2c63a2faf95e1660dcb1910b01d676
Diffstat (limited to 'unix/tcl.m4')
-rw-r--r--unix/tcl.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/tcl.m4 b/unix/tcl.m4
index cbe5fd3..2ed36b1 100644
--- a/unix/tcl.m4
+++ b/unix/tcl.m4
@@ -1380,8 +1380,8 @@ dnl AC_CHECK_TOOL(AR, ar)
Darwin-*)
SHLIB_CFLAGS="-fno-common"
SHLIB_LD="cc -dynamiclib \${LDFLAGS}"
- TCL_SHLIB_LD_EXTRAS="-compatibility_version ${TCL_VERSION} -current_version \${VERSION} -install_name \${DYLIB_INSTALL_DIR}/\${TCL_LIB_FILE} -prebind -seg1addr 0xa000000"
- TK_SHLIB_LD_EXTRAS="-compatibility_version ${TK_VERSION} -current_version \${VERSION} -install_name \${DYLIB_INSTALL_DIR}/\${TK_LIB_FILE} -prebind -seg1addr 0xb000000"
+ TCL_SHLIB_LD_EXTRAS="-compatibility_version ${TCL_VERSION} -current_version \${VERSION} -install_name \${DYLIB_INSTALL_DIR}/\${TCL_LIB_FILE} -prebind -seg1addr 0xa000000 -Wl,-single_module"
+ TK_SHLIB_LD_EXTRAS="-compatibility_version ${TK_VERSION} -current_version \${VERSION} -install_name \${DYLIB_INSTALL_DIR}/\${TK_LIB_FILE} -prebind -seg1addr 0xb000000 -Wl,-single_module"
SHLIB_LD_LIBS='${LIBS}'
SHLIB_SUFFIX=".dylib"
DL_OBJS="tclLoadDyld.o"