From 281c3f714c345032a68625be73f310574ec16183 Mon Sep 17 00:00:00 2001 From: bdrewery Date: Sat, 26 Oct 2013 13:38:49 +0000 Subject: Link in libcrypto as well to fix build in some cases. Approved by: bapt MFC after: 2 days Reported by: many --- usr.sbin/pkg/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'usr.sbin/pkg/Makefile') diff --git a/usr.sbin/pkg/Makefile b/usr.sbin/pkg/Makefile index 88f8d66..9cf78cd 100644 --- a/usr.sbin/pkg/Makefile +++ b/usr.sbin/pkg/Makefile @@ -6,8 +6,9 @@ SRCS= pkg.c dns_utils.c config.c NO_MAN= yes CFLAGS+=-I${.CURDIR}/../../contrib/libyaml/include .PATH: ${.CURDIR}/../../contrib/libyaml/include -DPADD= ${LIBARCHIVE} ${LIBELF} ${LIBFETCH} ${LIBYAML} ${LIBSBUF} -LDADD= -larchive -lelf -lfetch -lyaml -lsbuf -lssl +DPADD= ${LIBARCHIVE} ${LIBELF} ${LIBFETCH} ${LIBYAML} ${LIBSBUF} ${LIBSSL} \ + ${LIBCRYPTO} +LDADD= -larchive -lelf -lfetch -lyaml -lsbuf -lssl -lcrypto USEPRIVATELIB= yaml .include -- cgit v1.1