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:
cognet 2011-10-16 16:58:28 +00:00
parent a7d5299490
commit c18d1febae

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