slackware-current/source/d/clisp/clisp.link.libgnu.whole-archive.diff
Patrick J Volkerding e6a0a756a3 Sun Apr 26 03:34:28 UTC 2020
d/rust-1.43.0-x86_64-2.txz:  Rebuilt.
  Patched and recompiled with the system LLVM 10 instead of the bundled LLVM 9.
2020-04-26 08:59:53 +02:00

12 lines
570 B
Diff

diff -u -r --new-file clisp-2.50_20191103_c26de7873.orig/src/makemake.in clisp-2.50_20191103_c26de7873/src/makemake.in
--- clisp-2.50_20191103_c26de7873.orig/src/makemake.in 2019-12-30 13:50:09.000000000 -0600
+++ clisp-2.50_20191103_c26de7873/src/makemake.in 2020-04-24 22:40:43.272361884 -0500
@@ -1995,7 +1995,7 @@
GLLIB_A=libgnu.a
# libgnu.a must come _before_ -lws2_32 -lintl &c
-LIBS="${GLLIB_A} ${LIBS} ${LIBSOCKET}"
+LIBS="-Wl,--whole-archive ${GLLIB_A} -Wl,--no-whole-archive ${LIBS} -ldl ${LIBSOCKET}"
FILES="${GLLIB_A} "${FILES}
FILES='lisp.a '$FILES