nss: Do not produces static linker input files for libnss_files
Checks
Context |
Check |
Description |
dj/TryBot-apply_patch |
success
|
Patch applied to master at the time it was sent
|
dj/TryBot-32bit |
success
|
Build for i686
|
Commit Message
---
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
Comments
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))) \
@@ -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))) \