Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 May 2009 07:08:16 +0000 (UTC)
From:      Tim Kientzle <kientzle@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r193083 - head/lib/libarchive
Message-ID:  <200905300708.n4U78GSJ099455@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905300708.n4U78GSJ099455>