summaryrefslogtreecommitdiff
path: root/tests/lib/libc/sys
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/lib/libc/sys
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/lib/libc/sys')
-rw-r--r--tests/lib/libc/sys/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/libc/sys/Makefile b/tests/lib/libc/sys/Makefile
index 9a6a201a318..234abf41ca3 100644
--- a/tests/lib/libc/sys/Makefile
+++ b/tests/lib/libc/sys/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.34 2013/07/24 11:45:48 skrll Exp $
+# $NetBSD: Makefile,v 1.35 2014/06/10 04:28:39 he Exp $
MKMAN= no
@@ -70,7 +70,7 @@ LDADD.t_getpid+= -lpthread
.if (${MKRUMP} != "no")
TESTS_C+= t_posix_fadvise
-LDADD.t_posix_fadvise+= -lrumpvfs -lrump -lrumpuser -lpthread
+LDADD.t_posix_fadvise+= -lrumpvfs -lrump -lrumpuser -lrump -lpthread
.endif
WARNS= 4