]> sourceware.org Git - glibc.git/commitdiff
resolv: Do not install libnss_dns.a, libnss_dns.so
authorFlorian Weimer <fweimer@redhat.com>
Tue, 20 Jul 2021 10:27:23 +0000 (12:27 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Tue, 20 Jul 2021 10:29:27 +0000 (12:29 +0200)
Fixes commit e1fcf21474c5b522f ("resolv: Move nss_dns into libc").

resolv/Makefile

index 31d27454b45e8e69574af27b9e44926c68f7b5d6..e138a1fdac95aeb0f36f03fbcbaefedaef153371 100644 (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 \
This page took 0.041441 seconds and 5 git commands to generate.