Message ID | 878s2huiha.fsf@oldenburg.str.redhat.com |
---|---|
State | New |
Headers | show |
Series | nss: Do not produces static linker input files for libnss_files | expand |
I changed the commit subject as indicated. > --- > nss/Makefile | 8 ++++++++ > 1 file changed, 8 insertions(+) > > Tested in i686-linux-gnu, x86_64-linux-gnu. Built with > build-many-glibcs.py. “find …/install/glibcs/ | grep libnss_files | > grep -vF /libnss_files.so.2” does not show any output. > > Thanks, > Florian > > 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))) \
Ok. Andreas.
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))) \