Obey MKCRYPTO.
This commit is contained in:
parent
c385f5854b
commit
4c074ab789
|
@ -606,7 +606,7 @@
|
|||
/* #undef HAVE_LIBCHARSET */
|
||||
|
||||
/* Define to 1 if you have the `crypto' library (-lcrypto). */
|
||||
#define HAVE_LIBCRYPTO 1
|
||||
/* #undef1 HAVE_LIBCRYPTO */
|
||||
|
||||
/* Define to 1 if you have the `eay32' library (-leay32). */
|
||||
/* #undef HAVE_LIBEAY32 */
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.4 2017/04/20 13:11:04 joerg Exp $
|
||||
# $NetBSD: Makefile,v 1.5 2017/04/22 15:12:59 christos Exp $
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
|
@ -6,8 +6,12 @@
|
|||
|
||||
LIB= archive
|
||||
|
||||
.if ${MKCRYPTO:Uno} == "yes"
|
||||
LIBDPLIBS+= crypto ${NETBSDSRCDIR}/crypto/external/bsd/openssl/lib/libcrypto
|
||||
CPPFLAGS+= -DHAVE_LIBCRYPTO
|
||||
.endif
|
||||
|
||||
LIBDPLIBS+= bz2 ${NETBSDSRCDIR}/lib/libbz2 \
|
||||
crypto ${NETBSDSRCDIR}/crypto/external/bsd/openssl/lib/libcrypto \
|
||||
expat ${NETBSDSRCDIR}/external/mit/expat/lib/libexpat \
|
||||
lzma ${NETBSDSRCDIR}/external/public-domain/xz/lib \
|
||||
z ${NETBSDSRCDIR}/lib/libz
|
||||
|
|
Loading…
Reference in New Issue