summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSlava Barinov <v.barinov@samsung.com>2019-04-16 10:40:32 +0300
committerSlava Barinov <v.barinov@samsung.com>2019-04-16 12:01:12 +0300
commitd0fde087a31392629b11608775687885b3f0e4d5 (patch)
tree92077645255fb483f0578d6cbb98a841c4ee2bee
parent579d1c972c9603cfc5bdfad2a1397ae1ba4cbb2d (diff)
downloadexpect-submit/tizen_5.5/20191031.000006.tar.gz
expect-submit/tizen_5.5/20191031.000006.tar.bz2
expect-submit/tizen_5.5/20191031.000006.zip
Change-Id: I06a32585e8089d69bd81cd6ae982dda4d61d6742
-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)