diff options
author | yar <yar@FreeBSD.org> | 2006-07-26 08:36:46 +0000 |
---|---|---|
committer | yar <yar@FreeBSD.org> | 2006-07-26 08:36:46 +0000 |
commit | dfd296d48ee6985b72f99646a758768fc9b2c604 (patch) | |
tree | d284a31222399c838792c277c9d171024d6c6c13 /lib/libc/net | |
parent | 082a928eacb8f601a18e18b1c8e3eeeeda799506 (diff) | |
download | FreeBSD-src-dfd296d48ee6985b72f99646a758768fc9b2c604.zip FreeBSD-src-dfd296d48ee6985b72f99646a758768fc9b2c604.tar.gz |
Respect MK_INET6_SUPPORT.
Diffstat (limited to 'lib/libc/net')
-rw-r--r-- | lib/libc/net/Makefile.inc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/libc/net/Makefile.inc b/lib/libc/net/Makefile.inc index 2d710d0..eadbb08 100644 --- a/lib/libc/net/Makefile.inc +++ b/lib/libc/net/Makefile.inc @@ -21,7 +21,11 @@ SRCS+= nscache.c nscachedcli.c SYM_MAPS+=${.CURDIR}/net/Symbol.map -CFLAGS+=-DINET6 -I${.OBJDIR} +.if ${MK_INET6_SUPPORT} != "no" +CFLAGS+=-DINET6 +.endif + +CFLAGS+=-I${.OBJDIR} # name6.c refers res_private.h CFLAGS+=-I${.CURDIR}/resolv |