Explorar o código

- des uses ntohl

Bernhard Reutner-Fischer %!s(int64=17) %!d(string=hai) anos
pai
achega
f209f0ec29
Modificáronse 1 ficheiros con 5 adicións e 1 borrados
  1. 5 1
      libc/inet/Makefile.in

+ 5 - 1
libc/inet/Makefile.in

@@ -11,10 +11,14 @@ INET_DIR := $(top_srcdir)libc/inet
 INET_OUT := $(top_builddir)libc/inet
 
 CSRC :=
+ifneq ($(UCLIBC_HAS_CRYPT_IMPL)$(UCLIBC_HAS_IPV4)$(UCLIBC_HAS_IPV6),)
+# des uses nthol
+CSRC += ntohl.c
+endif
 ifneq ($(UCLIBC_HAS_IPV4)$(UCLIBC_HAS_IPV6),)
 CSRC +=	getservice.c getproto.c hostid.c getnetent.c getnetbynm.c getnetbyad.c \
 	inet_net.c herror.c if_index.c gai_strerror.c getaddrinfo.c \
-	ether_addr.c ntohl.c ifaddrs.c ntop.c
+	ether_addr.c ifaddrs.c ntop.c
 endif
 ifeq ($(UCLIBC_HAS_IPV6),y)
 CSRC += in6_addr.c