Package: tclreadline / 2.1.0-14

link.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

Index: tclreadline-2.1.0/aux/ltconfig
===================================================================
--- tclreadline-2.1.0.orig/aux/ltconfig
+++ tclreadline-2.1.0/aux/ltconfig
@@ -1232,8 +1232,8 @@
 
   *)
     if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
-      archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib'
-      archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+      archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname $LDFLAGS -o $lib'
+      archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname $LDFLAGS ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
     else
       ld_shlibs=no
     fi