public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc] nss: Do not install static linker input files for libnss_files
@ 2021-07-08 12:07 Florian Weimer
  0 siblings, 0 replies; only message in thread
From: Florian Weimer @ 2021-07-08 12:07 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=9ed48feed8c268e98baf00f3608d85dafb8215f3

commit 9ed48feed8c268e98baf00f3608d85dafb8215f3
Author: Florian Weimer <fweimer@redhat.com>
Date:   Thu Jul 8 14:06:53 2021 +0200

    nss: Do not install static linker input files for libnss_files

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

diff --git a/nss/Makefile b/nss/Makefile
index 63a386af18..bccf9f2806 100644
--- a/nss/Makefile
+++ b/nss/Makefile
@@ -105,6 +105,14 @@ routines += \
   files-initgroups \
   # routines
 
+# Build only an empty shared libnss_files.
+libnss_files-inhibit-o = $(filter-out .os,$(object-suffixes))
+
+# Pretend that libnss_files.so is a linker script, so that the symbolic link
+# is not installed.
+install-lib-ldscripts = libnss_files.so
+$(inst_libdir)/libnss_files.so:
+
 libnss_db-dbs		:= $(addprefix db-,\
 				       $(filter-out hosts network key alias,\
 						    $(databases))) \


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

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

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-08 12:07 [glibc] nss: Do not install static linker input files for libnss_files 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).