summaryrefslogtreecommitdiff
path: root/nss
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2021-07-08 14:06:53 +0200
committerFlorian Weimer <fweimer@redhat.com>2021-07-08 14:06:53 +0200
commit9ed48feed8c268e98baf00f3608d85dafb8215f3 (patch)
treed3a9a861723156bdbe3d0bc0f93e168ffd447f59 /nss
parent5ceb1630bdb2302f927fabb812252a6d88168918 (diff)
downloadglibc-9ed48feed8c268e98baf00f3608d85dafb8215f3.tar.gz
nss: Do not install static linker input files for libnss_files
Diffstat (limited to 'nss')
-rw-r--r--nss/Makefile8
1 files changed, 8 insertions, 0 deletions
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))) \