Source-Changes-HG archive

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

[src/trunk]: src/tests/dev/md When linking statically (as for sun2), need to ...



details:   https://anonhg.NetBSD.org/src/rev/07826ddb877e
branches:  trunk
changeset: 796556:07826ddb877e
user:      he <he%NetBSD.org@localhost>
date:      Mon Jun 09 18:22:05 2014 +0000

description:
When linking statically (as for sun2), need to list -lrump also
after -lrumpuser, because rump_pub_lwproc_switch is used in the
latter and defined in the former.

diffstat:

 tests/dev/md/Makefile |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 2d54046ed319 -r 07826ddb877e tests/dev/md/Makefile
--- a/tests/dev/md/Makefile     Mon Jun 09 17:35:01 2014 +0000
+++ b/tests/dev/md/Makefile     Mon Jun 09 18:22:05 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.3 2012/12/02 18:39:53 pgoyette Exp $
+#      $NetBSD: Makefile,v 1.4 2014/06/09 18:22:05 he Exp $
 #
 
 .include <bsd.own.mk>
@@ -16,6 +16,7 @@
 LDADD+=        -lrumpdev_md -lrumpdev_disk -lrumpdev -lrumpvfs
 LDADD+=        -lrump
 LDADD+=        -lrumpuser
+LDADD+=        -lrump
 LDADD+=        -lpthread
 
 WARNS= 4



Home | Main Index | Thread Index | Old Index