From c18d1febae15f77c86db50a170ce609073f948b0 Mon Sep 17 00:00:00 2001 From: cognet Date: Sun, 16 Oct 2011 16:58:28 +0000 Subject: Unbreak NO_DYNAMICROOT by explicitely linking to libcrypto if MK_OPENSSL isn't set to no, as libbsnmp needs it. --- sbin/atm/atmconfig/Makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'sbin/atm') diff --git a/sbin/atm/atmconfig/Makefile b/sbin/atm/atmconfig/Makefile index cbf5a9a..0d64fea 100644 --- a/sbin/atm/atmconfig/Makefile +++ b/sbin/atm/atmconfig/Makefile @@ -5,6 +5,8 @@ # # $FreeBSD$ +.include + 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 -- cgit v1.1