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
5d920ef704
commit
10f94f86f5
@ -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