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:
parent
a7d5299490
commit
c18d1febae
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user