Oops, support IPv6 if not disabled.

XXX: pullup-8
This commit is contained in:
christos 2017-07-12 12:55:41 +00:00
parent c595431717
commit f0c0aaa76f
1 changed files with 7 additions and 1 deletions

View File

@ -1,4 +1,6 @@
# $NetBSD: Makefile.inc,v 1.1 2017/01/07 19:51:21 christos Exp $
# $NetBSD: Makefile.inc,v 1.2 2017/07/12 12:55:41 christos Exp $
.include <bsd.own.mk>
USE_FORT?= yes # network client/server
@ -8,6 +10,10 @@ CPPFLAGS+=-D_OPENBSD_SOURCE
CPPFLAGS+=-I${NSD} -I${NSD}/../include
.PATH: ${NSD}
.if (${USE_INET6} != "no")
CPPFLAGS+= -DINET6
.endif
DPLIBS+= event ${NETBSDSRCDIR}/external/bsd/libevent/lib/libevent
DPLIBS+= ssl ${NETBSDSRCDIR}/crypto/external/bsd/openssl/lib/libssl
DPLIBS+= crypto ${NETBSDSRCDIR}/crypto/external/bsd/openssl/lib/libcrypto