mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
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
1 changed files with 5 additions and 0 deletions
|
|
@ -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 a new issue