From 9ed48feed8c268e98baf00f3608d85dafb8215f3 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Thu, 8 Jul 2021 14:06:53 +0200 Subject: nss: Do not install static linker input files for libnss_files --- nss/Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'nss') diff --git a/nss/Makefile b/nss/Makefile index 63a386a..bccf9f2 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))) \ -- cgit v1.1