summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorkientzle <kientzle@FreeBSD.org>2009-05-30 07:08:16 +0000
committerkientzle <kientzle@FreeBSD.org>2009-05-30 07:08:16 +0000
commit5c79b23a337b3f9629ba027193a3633b1bc2d46a (patch)
tree078c6c52c736c27a8edbb41c90d260c7bcc99a6e /lib
parent9849e67ed2b848cc898c9ba7363015d778a62ffe (diff)
downloadFreeBSD-src-5c79b23a337b3f9629ba027193a3633b1bc2d46a.zip
FreeBSD-src-5c79b23a337b3f9629ba027193a3633b1bc2d46a.tar.gz
Link libarchive against -lmd and -lcrypto.
Thanks to Ed Schouten for the clue.
Diffstat (limited to 'lib')
-rw-r--r--lib/libarchive/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libarchive/Makefile b/lib/libarchive/Makefile
index e1ef6ea..b4952d0 100644
--- a/lib/libarchive/Makefile
+++ b/lib/libarchive/Makefile
@@ -3,7 +3,7 @@
LIB= archive
DPADD= ${LIBBZ2} ${LIBZ}
-LDADD= -lbz2 -lz
+LDADD= -lbz2 -lz -lmd
# FreeBSD SHLIB_MAJOR value is managed as part of the FreeBSD system.
# It has no real relation to the libarchive version number.
@@ -17,6 +17,7 @@ CFLAGS+= -I${.OBJDIR}
.if ${MK_OPENSSL} != "no"
CFLAGS+= -DWITH_OPENSSL
+LDFLAGS+= -lcrypto
.endif
OpenPOWER on IntegriCloud