Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/rump/modautoload Do the same thing with linker flags i...



details:   https://anonhg.NetBSD.org/src/rev/8638b91ad831
branches:  trunk
changeset: 932797:8638b91ad831
user:      christos <christos%NetBSD.org@localhost>
date:      Sat May 16 12:54:27 2020 +0000

description:
Do the same thing with linker flags instead of directly specifying the archives.

diffstat:

 tests/rump/modautoload/Makefile |  10 ++++------
 1 files changed, 4 insertions(+), 6 deletions(-)

diffs (24 lines):

diff -r 8e48d8212089 -r 8638b91ad831 tests/rump/modautoload/Makefile
--- a/tests/rump/modautoload/Makefile   Sat May 16 12:46:57 2020 +0000
+++ b/tests/rump/modautoload/Makefile   Sat May 16 12:54:27 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.10 2020/05/16 12:44:42 christos Exp $
+#      $NetBSD: Makefile,v 1.11 2020/05/16 12:54:27 christos Exp $
 #
 
 .include <bsd.init.mk>
@@ -15,11 +15,9 @@
 # subdirectory -- otherwise the LDADD lines would get a little hairy.
 LDFLAGS+=      -Wl,-E
 LDADD+= \
-    -Wl,--whole-archive \
-    ${DESTDIR}/usr/lib/librumpvfs_nofifofs.a \
-    ${DESTDIR}/usr/lib/librumpvfs.a \
-    ${DESTDIR}/usr/lib/librump.a \
-    -Wl,--no-whole-archive
+    -Wl,--whole-archive -Wl,-Bstatic \
+       -lrumpvfs_nofifofs -lrumpvfs -lrump \
+    -Wl,-Bdynamic -Wl,--no-whole-archive
 
 LDADD+=                -lrumpuser -lpthread
 DPADD+=                ${LIBRUMPVFS} ${LIBRUMP} ${LIBRUMPUSER}



Home | Main Index | Thread Index | Old Index