summaryrefslogtreecommitdiffstats
path: root/unix/tcl.m4
diff options
context:
space:
mode:
authormdejong <mdejong>2003-03-28 00:13:22 (GMT)
committermdejong <mdejong>2003-03-28 00:13:22 (GMT)
commit5e614a51fde6889901f8db205f2c322a8e938a4a (patch)
tree51023299f3bcec554d95e9cdfd7fc27b92bd10ff /unix/tcl.m4
parent6a4b91b4e6af061b517ff7a93d817c9715162207 (diff)
downloadtcl-5e614a51fde6889901f8db205f2c322a8e938a4a.zip
tcl-5e614a51fde6889901f8db205f2c322a8e938a4a.tar.gz
tcl-5e614a51fde6889901f8db205f2c322a8e938a4a.tar.bz2
* unix/configure: Regen.
* unix/tcl.m4 (SC_CONFIG_CFLAGS): Use -Wl,--export-dynamic instead of -rdynamic for LDFLAGS. The -rdynamic is not documented so it seems better to pass the --export-dynamic flag to the linker. [Patch 573395]
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 239fe4c..67128a2 100644
--- a/unix/tcl.m4
+++ b/unix/tcl.m4
@@ -1117,7 +1117,7 @@ dnl AC_CHECK_TOOL(AR, ar)
SHLIB_LD="${CC} -shared"
DL_OBJS="tclLoadDl.o"
DL_LIBS="-ldl"
- LDFLAGS="-rdynamic"
+ LDFLAGS="-Wl,--export-dynamic"
CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
else
@@ -1157,7 +1157,7 @@ dnl AC_CHECK_TOOL(AR, ar)
SHLIB_LD="${CC} -shared"
DL_OBJS=""
DL_LIBS="-ldl"
- LDFLAGS="-rdynamic"
+ LDFLAGS="-Wl,--export-dynamic"
CC_SEARCH_FLAGS=""
LD_SEARCH_FLAGS=""
else