Change-Id: I06a32585e8089d69bd81cd6ae982dda4d61d6742
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
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)