resolv: Do not build libanl.so for ABIs starting at 2.35

This commit is contained in:
Adhemerval Zanella 2021-12-30 08:57:56 -03:00
parent ebe899af0d
commit 737e873b30

View File

@ -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 \