about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2021-12-30 08:57:56 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2021-12-30 08:57:56 -0300
commit737e873b305d8a2d925a8e346b84910eae5a39b3 (patch)
treef0dd780f41169e79839f6f35d160fece0bf0d297
parentebe899af0dc3215159a9c896ac6f35b72a18cb6e (diff)
downloadglibc-737e873b305d8a2d925a8e346b84910eae5a39b3.tar.gz
glibc-737e873b305d8a2d925a8e346b84910eae5a39b3.tar.xz
glibc-737e873b305d8a2d925a8e346b84910eae5a39b3.zip
resolv: Do not build libanl.so for ABIs starting at 2.35
-rw-r--r--resolv/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/resolv/Makefile b/resolv/Makefile
index 59e599535c..ed353386d9 100644
--- a/resolv/Makefile
+++ b/resolv/Makefile
@@ -78,8 +78,12 @@ generate := mtrace-tst-leaks.out tst-leaks.mtrace tst-leaks2.mtrace
 
 extra-libs := libresolv libnss_dns
 ifeq ($(have-thread-library),yes)
-extra-libs += libanl
 routines += gai_sigqueue
+endif
+
+ifeq ($(have-GLIBC_2.34)$(have-thread-library),yesyes)
+# Empty compatibility library for old binaries.
+extra-libs += libanl
 
 tests += \
   tst-bug18665 \