summaryrefslogtreecommitdiff
path: root/libc/inet/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'libc/inet/Makefile.in')
-rw-r--r--libc/inet/Makefile.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/libc/inet/Makefile.in b/libc/inet/Makefile.in
index 493041ff6..5bca2b9c5 100644
--- a/libc/inet/Makefile.in
+++ b/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