Unbreak NO_DYNAMICROOT by explicitely linking to libcrypto if MK_OPENSSL isn't

set to no, as libbsnmp needs it.
This commit is contained in:
Olivier Houchard 2011-10-16 16:58:28 +00:00
parent 5d920ef704
commit 10f94f86f5

View File

@ -5,6 +5,8 @@
#
# $FreeBSD$
.include <bsd.own.mk>
PROG= atmconfig
.ifndef RESCUE
SRCS= ${.OBJDIR}/oid.h
@ -21,6 +23,9 @@ CFLAGS+= -I${.OBJDIR}
.ifndef RESCUE
DPADD= ${LIBBSNMP}
LDADD= -lbsnmp
. if ${MK_DYNAMICROOT} == "no" && ${MK_OPENSSL} != "no"
LDADD+= -lcrypto
. endif
.endif
.ifndef RESCUE