@@ -186,7 +186,7 @@ libresolv-routines := \
resolv-deprecated \
# libresolv-routines
-ifeq ($(have-GLIBC_2.34)$(have-thread-library),yesyes)
+ifeq ($(have-anl-library),yes)
# Empty compatibility library for old binaries.
extra-libs += libanl
libanl-routines += libanl-compat
@@ -2,6 +2,7 @@
# This gets included at the end of the main glibc Makeconfig.
have-thread-library = yes
+have-anl-library = yes
shared-thread-library = $(common-objpfx)htl/libpthread.so
static-thread-library = $(..)htl/libpthread_syms.a $(common-objpfx)htl/libpthread.a $(common-objpfx)mach/libmachuser.a $(common-objpfx)hurd/libhurduser.a
new file mode 100644
@@ -0,0 +1,4 @@
+GLIBC_2.38 gai_cancel F
+GLIBC_2.38 gai_error F
+GLIBC_2.38 gai_suspend F
+GLIBC_2.38 getaddrinfo_a F
@@ -19,6 +19,7 @@
# This gets included at the end of the main glibc Makeconfig.
have-thread-library = yes
+have-anl-library = $(have-GLIBC_2.34)
# The thread library is integrated.
shared-thread-library =