summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pkg/Makefile
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2013-10-26 13:38:49 +0000
committerbdrewery <bdrewery@FreeBSD.org>2013-10-26 13:38:49 +0000
commit281c3f714c345032a68625be73f310574ec16183 (patch)
tree74576be4b8ef6cc8b0f293ce5a8831ef61e1ef94 /usr.sbin/pkg/Makefile
parent5c65a02a2c76f79a58f1449edb24595705da73f0 (diff)
downloadFreeBSD-src-281c3f714c345032a68625be73f310574ec16183.zip
FreeBSD-src-281c3f714c345032a68625be73f310574ec16183.tar.gz
Link in libcrypto as well to fix build in some cases.
Approved by: bapt MFC after: 2 days Reported by: many
Diffstat (limited to 'usr.sbin/pkg/Makefile')
-rw-r--r--usr.sbin/pkg/Makefile5
1 files changed, 3 insertions, 2 deletions
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 <bsd.prog.mk>
OpenPOWER on IntegriCloud