nss: Do not install static linker input files for libnss_files

This commit is contained in:
Florian Weimer 2021-07-08 14:06:53 +02:00
parent 5ceb1630bd
commit 9ed48feed8
1 changed files with 8 additions and 0 deletions

View File

@ -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))) \