summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packaging/expect.spec4
-rw-r--r--tclconfig/tcl.m42
2 files changed, 3 insertions, 3 deletions
diff --git a/packaging/expect.spec b/packaging/expect.spec
index 2fd4e7e..10dc1e4 100644
--- a/packaging/expect.spec
+++ b/packaging/expect.spec
@@ -35,12 +35,12 @@ expect package loaded.
cp %{SOURCE1001} .
%build
-autoreconf
-%configure \
+%reconfigure \
--with-tcl=%_libdir \
--with-tk=no_tk \
--with-tclinclude=%_includedir \
--enable-shared
+
make %{?_smp_mflags} all pkglibdir=%_libdir/tcl/%name%version
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)