resolv: Do not install libnss_dns.a, libnss_dns.so

Fixes commit e1fcf21474 ("resolv: Move nss_dns into libc").
This commit is contained in:
Florian Weimer 2021-07-20 12:27:23 +02:00
parent ff417d4017
commit 20be978f05

View file

@ -179,6 +179,14 @@ libanl-shared-only-routines += libanl-compat
subdir-dirs = nss_dns
vpath %.c nss_dns
# Build only an empty shared libnss_dns.
libnss_dns-inhibit-o = $(filter-out .os,$(object-suffixes))
# Pretend that libnss_dns.so is a linker script, so that the symbolic link
# is not installed.
install-lib-ldscripts = libnss_dns.so
$(inst_libdir)/libnss_dns.so:
ifeq ($(run-built-tests),yes)
ifneq (no,$(PERL))
tests-special += $(objpfx)mtrace-tst-leaks.out $(objpfx)mtrace-tst-leaks2.out \