public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Florian Weimer <fw@sourceware.org>
To: glibc-cvs@sourceware.org
Subject: [glibc] resolv: Do not install libnss_dns.a, libnss_dns.so
Date: Tue, 20 Jul 2021 12:40:19 +0000 (GMT)	[thread overview]
Message-ID: <20210720124019.F39703839400@sourceware.org> (raw)

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 \


                 reply	other threads:[~2021-07-20 12:40 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210720124019.F39703839400@sourceware.org \
    --to=fw@sourceware.org \
    --cc=glibc-cvs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).