summaryrefslogtreecommitdiff
path: root/tests/modules
diff options
context:
space:
mode:
authorhe <he@NetBSD.org>2014-06-10 04:28:39 +0000
committerhe <he@NetBSD.org>2014-06-10 04:28:39 +0000
commit2bebbb5d78b01ba72808d51b46bfd45f10decd4a (patch)
tree3db7fad0505ba9ac9cac52ff5ddfeff0c9f4b5ee /tests/modules
parent79dda5b251141b0055d88c1a57a2d3e57e8d135e (diff)
Fix static linking for the tests: -lrump is also used by -lrumpuser,
so we also need -lrump after -lrumpuser. Fixes build for sun2.
Diffstat (limited to 'tests/modules')
-rw-r--r--tests/modules/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/modules/Makefile b/tests/modules/Makefile
index 8240be106ab..66f2b0cee3c 100644
--- a/tests/modules/Makefile
+++ b/tests/modules/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2012/04/13 07:05:32 jruoho Exp $
+# $NetBSD: Makefile,v 1.11 2014/06/10 04:28:40 he Exp $
.include <bsd.own.mk>
@@ -12,7 +12,7 @@ TESTSDIR= ${TESTSBASE}/modules
TESTS_C= t_modctl
TESTS_C+= t_builtin
LDADD= -lprop
-LDADD+= -lrumpfs_kernfs -lrumpvfs -lrump -lrumpuser -lpthread
+LDADD+= -lrumpfs_kernfs -lrumpvfs -lrump -lrumpuser -lrump -lpthread
TESTS_SH= t_abi_uvm
TESTS_SH+= t_modload