diff --git a/expect.changes b/expect.changes index 45c281b..85bb4fa 100644 --- a/expect.changes +++ b/expect.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Tue May 4 11:02:42 UTC 2021 - Matthias Gerstner + +- fix previous change regarding PIE linking. Passing SHLIB_CFLAGS="-shared" + causes /usr/bin/expect to become a shared library that SEGFAULTs upon + execution. Instead use SHLIB_LD to pass -shared only to shared library + linking. + ------------------------------------------------------------------- Wed Apr 21 13:13:28 UTC 2021 - Matthias Gerstner diff --git a/expect.spec b/expect.spec index af317b0..4f7c274 100644 --- a/expect.spec +++ b/expect.spec @@ -66,7 +66,7 @@ autoreconf --with-tk=no_tk \ --with-tclinclude=%_includedir \ --enable-shared -make SHLIB_CFLAGS="-shared" %{?_smp_mflags} all pkglibdir=%_libdir/tcl/%name%version +make SHLIB_LD="gcc -shared" %{?_smp_mflags} all pkglibdir=%_libdir/tcl/%name%version %check make %{?_smp_mflags} test