From a704d8391960ecb8c698b66b8e81c0c2cce269d1 Mon Sep 17 00:00:00 2001 From: jilles Date: Sun, 16 Mar 2014 13:43:06 +0000 Subject: [PATCH] Fix statically-linked build (WITHOUT_DYNAMICROOT). --- sbin/casperd/Makefile | 4 ++-- sbin/ping/Makefile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sbin/casperd/Makefile b/sbin/casperd/Makefile index d436ce8f1150..f5a8e05860a8 100644 --- a/sbin/casperd/Makefile +++ b/sbin/casperd/Makefile @@ -4,8 +4,8 @@ PROG= casperd SRCS= casperd.c zygote.c -DPADD= ${LIBCAPSICUM} ${LIBCASPER} ${LIBNV} ${LIBPJDLOG} ${LIBUTIL} -LDADD= -lcapsicum -lcasper -lnv -lpjdlog -lutil +DPADD= ${LIBCASPER} ${LIBCAPSICUM} ${LIBNV} ${LIBPJDLOG} ${LIBUTIL} +LDADD= -lcasper -lcapsicum -lnv -lpjdlog -lutil MAN= casperd.8 diff --git a/sbin/ping/Makefile b/sbin/ping/Makefile index b973215a4188..c3dda698b519 100644 --- a/sbin/ping/Makefile +++ b/sbin/ping/Makefile @@ -12,8 +12,8 @@ DPADD= ${LIBM} LDADD= -lm .if ${MK_CASPER} != "no" && !defined(RESCUE) -DPADD+= ${LIBCAPSICUM} -LDADD+= -lcapsicum +DPADD+= ${LIBCAPSICUM} ${LIBNV} +LDADD+= -lcapsicum -lnv CFLAGS+=-DHAVE_LIBCAPSICUM .endif