summaryrefslogtreecommitdiffstats
path: root/usr.sbin/amd
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2008-03-29 18:13:15 +0000
committerru <ru@FreeBSD.org>2008-03-29 18:13:15 +0000
commit524112305cba8db11215f822d001acc75fc96619 (patch)
tree9335f8f1480d9f3d2b5cbd8c616ec8259278a982 /usr.sbin/amd
parentc89d547c2242bb03123cd62ed7968050deebd1a6 (diff)
downloadFreeBSD-src-524112305cba8db11215f822d001acc75fc96619.zip
FreeBSD-src-524112305cba8db11215f822d001acc75fc96619.tar.gz
Don't always link statically with libwrap. By the time amd(8)
runs, /usr/lib should have already been mounted. Found by: make checkdpadd
Diffstat (limited to 'usr.sbin/amd')
-rw-r--r--usr.sbin/amd/amd/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/amd/amd/Makefile b/usr.sbin/amd/amd/Makefile
index 61b89e8..c720003 100644
--- a/usr.sbin/amd/amd/Makefile
+++ b/usr.sbin/amd/amd/Makefile
@@ -28,7 +28,7 @@ CFLAGS+= -I${.CURDIR}/../../../contrib/amd/amd \
-I${DESTDIR}/usr/include/rpcsvc
DPADD= ${LIBAMU} ${LIBWRAP}
-LDADD= ${LIBAMU} ${LIBWRAP}
+LDADD= ${LIBAMU} -lwrap
CLEANFILES+= conf_parse.c conf_parse.h conf_tok.c
OpenPOWER on IntegriCloud