Make it possible to omit libutil from the link. It's used only for
disklabel stuff, and is only harmful on platforms that don't currently provide user namespace disklabel interfaces.
This commit is contained in:
parent
4e5f4292e3
commit
ff8534b0b9
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.4 2011/02/04 20:06:23 pooka Exp $
|
||||
# $NetBSD: Makefile,v 1.5 2013/09/10 18:22:55 pooka Exp $
|
||||
#
|
||||
|
||||
PROG= rump_allserver
|
||||
@ -14,7 +14,9 @@ RUMPTOP=${.CURDIR}/../../sys/rump
|
||||
LDADD+= ${RUMPDEVLDADD} ${RUMPFSLDADD} ${RUMPKERNLDADD} ${RUMPNETLDADD}
|
||||
LDADD+= -lrumpdev -lrumpvfs -lrumpnet -lrump -lrumpuser -lpthread
|
||||
|
||||
.if ${RUMP_SERVER_LIBUTIL:Uyes} == "yes"
|
||||
DPADD+= ${LIBUTIL}
|
||||
LDADD+= -lutil
|
||||
.endif
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.3 2011/02/04 20:06:23 pooka Exp $
|
||||
# $NetBSD: Makefile,v 1.4 2013/09/10 18:22:55 pooka Exp $
|
||||
#
|
||||
|
||||
.PATH: ${.CURDIR}/../rump_allserver
|
||||
@ -7,6 +7,11 @@ PROG= rump_server
|
||||
SRCS= rump_allserver.c
|
||||
NOMAN= installed by ../rump_allserver
|
||||
|
||||
LDADD+= -lrump -lrumpuser -lpthread -lutil
|
||||
LDADD+= -lrump -lrumpuser -lpthread
|
||||
|
||||
.if ${RUMP_SERVER_LIBUTIL:Uyes} == "yes"
|
||||
DPADD+= ${LIBUTIL}
|
||||
LDADD+= -lutil
|
||||
.endif
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
Loading…
x
Reference in New Issue
Block a user