summaryrefslogtreecommitdiff
path: root/tclconfig
diff options
context:
space:
mode:
Diffstat (limited to 'tclconfig')
-rw-r--r--tclconfig/tcl.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/tclconfig/tcl.m4 b/tclconfig/tcl.m4
index 396d920..5d55e5f 100644
--- a/tclconfig/tcl.m4
+++ b/tclconfig/tcl.m4
@@ -402,7 +402,7 @@ AC_DEFUN([TEA_LOAD_TCLCONFIG], [
eval "TCL_LIB_FLAG=\"${TCL_LIB_FLAG}\""
eval "TCL_LIB_SPEC=\"${TCL_LIB_SPEC}\""
eval "TCL_STUB_LIB_FLAG=\"${TCL_STUB_LIB_FLAG}\""
- eval "TCL_STUB_LIB_SPEC=\"${TCL_STUB_LIB_SPEC}\""
+ eval "TCL_STUB_LIB_SPEC=\"-Wl,--whole-archive,${TCL_BIN_DIR}/${TCL_STUB_LIB_FILE},--no-whole-archive\""
AC_SUBST(TCL_VERSION)
AC_SUBST(TCL_PATCH_LEVEL)