From dbb949f53d4801b91885b2dfac9875b83a8710bf Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Fri, 2 Jul 2021 11:45:00 +0200 Subject: resolv: Move libanl into libc (if libpthread is in libc) The symbols gai_cancel, gai_error, gai_suspend, getaddrinfo_a, __gai_suspend_time64 were moved using scripts/move-symbol-to-libc.py. For Hurd (which remains !PTHREAD_IN_LIBC), a few #define redirects had to be added because several pthread functions are not available under __. (Linux uses __ prefixes for most hidden aliases, and has to in some cases to avoid linknamespace issues.) --- Makeconfig | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Makeconfig') diff --git a/Makeconfig b/Makeconfig index 407df9e6a1..efc7351d71 100644 --- a/Makeconfig +++ b/Makeconfig @@ -1342,9 +1342,11 @@ sysd-rules-targets := $(sort $(foreach p,$(sysd-rules-patterns),\ ifeq ($(pthread-in-libc),yes) libpthread-routines-var = routines librt-routines-var = routines +libanl-routines-var = routines else libpthread-routines-var = libpthread-routines librt-routines-var = librt-routines +libanl-routines-var = libanl-routines endif # A sysdeps Makeconfig fragment may set libc-reentrant to yes. -- cgit 1.4.1