svn commit: r193083 - head/lib/libarchive

Tim Kientzle kientzle at FreeBSD.org
Sat May 30 07:08:17 UTC 2009


Author: kientzle
Date: Sat May 30 07:08:16 2009
New Revision: 193083
URL: http://svn.freebsd.org/changeset/base/193083

Log:
  Link libarchive against -lmd and -lcrypto.
  
  Thanks to Ed Schouten for the clue.

Modified:
  head/lib/libarchive/Makefile

Modified: head/lib/libarchive/Makefile
==============================================================================
--- head/lib/libarchive/Makefile	Sat May 30 06:37:03 2009	(r193082)
+++ head/lib/libarchive/Makefile	Sat May 30 07:08:16 2009	(r193083)
@@ -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
 
 


More information about the svn-src-head mailing list