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
 
 
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to