From 15105399a2cf564f230043a5f0f7977ab2236b6c Mon Sep 17 00:00:00 2001 From: christos Date: Fri, 23 Jan 2015 03:00:44 +0000 Subject: [PATCH] turn back to dynamic to reduce size. --- external/bsd/dhcp/Makefile.inc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/external/bsd/dhcp/Makefile.inc b/external/bsd/dhcp/Makefile.inc index 2ccb0edfdde2..7c1ff9e395b9 100644 --- a/external/bsd/dhcp/Makefile.inc +++ b/external/bsd/dhcp/Makefile.inc @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.inc,v 1.12 2014/09/26 22:18:48 christos Exp $ +# $NetBSD: Makefile.inc,v 1.13 2015/01/23 03:00:44 christos Exp $ WARNS?= 1 # XXX -Wshadow -Wcast-qual -Wsign-compare @@ -49,6 +49,9 @@ LDADD+=-Wl,-Bdynamic LDADD+= -lcrypto -lipsec -lcrypt DPADD+= ${LIBCRYPTO} ${LIBIPSEC} ${LIBCRYPT} .endif +.if defined(PROG) && ${PROG} == "dhclient" +LDADD+=-Wl,-Bdynamic +.endif DPADD+= ${COBJDIR}/libdhcp.a DPADD+= ${OMOBJDIR}/libomapi.a ${DSTOBJDIR}/libdst.a DPADD+= ${LIBDNS} ${LIBISC}