public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc] resolv: Do not install libnss_dns.a, libnss_dns.so
@ 2021-07-20 12:40 Florian Weimer
  0 siblings, 0 replies; only message in thread
From: Florian Weimer @ 2021-07-20 12:40 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=20be978f05dd0617ae5ba041aafc8abed4c06cb7

commit 20be978f05dd0617ae5ba041aafc8abed4c06cb7
Author: Florian Weimer <fweimer@redhat.com>
Date:   Tue Jul 20 12:27:23 2021 +0200

    resolv: Do not install libnss_dns.a, libnss_dns.so
    
    Fixes commit e1fcf21474c5b522f ("resolv: Move nss_dns into libc").

Diff:
---
 resolv/Makefile | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/resolv/Makefile b/resolv/Makefile
index 31d27454b4..e138a1fdac 100644
--- a/resolv/Makefile
+++ b/resolv/Makefile
@@ -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 \


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-07-20 12:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-20 12:40 [glibc] resolv: Do not install libnss_dns.a, libnss_dns.so Florian Weimer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).