* [PATCH] nss: Do not produces static linker input files for libnss_files
@ 2021-07-08 11:56 Florian Weimer
2021-07-08 11:57 ` [PATCH] nss: Do not install " Florian Weimer
2021-07-08 11:59 ` [PATCH] nss: Do not produces " Andreas Schwab
0 siblings, 2 replies; 3+ messages in thread
From: Florian Weimer @ 2021-07-08 11:56 UTC (permalink / raw)
To: libc-alpha; +Cc: Andreas Schwab
---
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))) \
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] nss: Do not install static linker input files for libnss_files
2021-07-08 11:56 [PATCH] nss: Do not produces static linker input files for libnss_files Florian Weimer
@ 2021-07-08 11:57 ` Florian Weimer
2021-07-08 11:59 ` [PATCH] nss: Do not produces " Andreas Schwab
1 sibling, 0 replies; 3+ messages in thread
From: Florian Weimer @ 2021-07-08 11:57 UTC (permalink / raw)
To: libc-alpha; +Cc: Andreas Schwab
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))) \
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] nss: Do not produces static linker input files for libnss_files
2021-07-08 11:56 [PATCH] nss: Do not produces static linker input files for libnss_files Florian Weimer
2021-07-08 11:57 ` [PATCH] nss: Do not install " Florian Weimer
@ 2021-07-08 11:59 ` Andreas Schwab
1 sibling, 0 replies; 3+ messages in thread
From: Andreas Schwab @ 2021-07-08 11:59 UTC (permalink / raw)
To: Florian Weimer; +Cc: libc-alpha
Ok.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-07-08 11:59 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-08 11:56 [PATCH] nss: Do not produces static linker input files for libnss_files Florian Weimer
2021-07-08 11:57 ` [PATCH] nss: Do not install " Florian Weimer
2021-07-08 11:59 ` [PATCH] nss: Do not produces " Andreas Schwab
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).