Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/net Include IPv6 global variable in USE_INET6=no libc
details: https://anonhg.NetBSD.org/src/rev/06a448070404
branches: trunk
changeset: 354485:06a448070404
user: manu <manu%NetBSD.org@localhost>
date: Sun Jun 18 04:03:44 2017 +0000
description:
Include IPv6 global variable in USE_INET6=no libc
This ensures a binary built with USE_INET6=yes libc can still link at
runtime with a USE_INET6=no libc. Of course IPv6 functionnality is not
available, but dynamic linking is not killed by missing symbols such
as in6addr_any.
diffstat:
lib/libc/net/Makefile.inc | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (20 lines):
diff -r aec94469fd2d -r 06a448070404 lib/libc/net/Makefile.inc
--- a/lib/libc/net/Makefile.inc Sun Jun 18 03:56:39 2017 +0000
+++ b/lib/libc/net/Makefile.inc Sun Jun 18 04:03:44 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.86 2015/04/15 19:13:46 mrg Exp $
+# $NetBSD: Makefile.inc,v 1.87 2017/06/18 04:03:44 manu Exp $
# @(#)Makefile.inc 8.2 (Berkeley) 9/5/93
# net sources
@@ -21,8 +21,9 @@
SRCS+= getaddrinfo.c getnameinfo.c
.if (${USE_INET6} != "no")
-SRCS+= ip6opt.c rthdr.c vars6.c inet6_scopeid.c
+SRCS+= ip6opt.c rthdr.c inet6_scopeid.c
.endif
+SRCS+= vars6.c
SRCS+= if_indextoname.c if_nameindex.c if_nametoindex.c
LPREFIX=_nsyy
Home |
Main Index |
Thread Index |
Old Index