This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch master updated. glibc-2.26.9000-1115-g9a08a36


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  9a08a366a7e7ddffe62113a9ffe5e50605ea0924 (commit)
      from  f172187b2d5bd9d22a5311b3ecd89d4ce5dbd2da (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=9a08a366a7e7ddffe62113a9ffe5e50605ea0924

commit 9a08a366a7e7ddffe62113a9ffe5e50605ea0924
Author: Florian Weimer <fweimer@redhat.com>
Date:   Fri Jan 12 08:42:56 2018 +0100

    libnsl: Do not install libnsl.so, libnsl.a if NIS is disabled [BZ #22701]
    
    This also skips building the .o files for libnsl.a.
    
    Reviewed-by: Carlos O'Donell <carlos@redhat.com>

diff --git a/ChangeLog b/ChangeLog
index 6b451ff..eb73917 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2018-01-12  Florian Weimer  <fweimer@redhat.com>
+
+	[BZ #22701]
+	* nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
+	Prevent installation of libnsl.so.
+	(libnsl-inhibit-o): Do not build (or install) static libraries.
+
 2018-01-12  Rafal Luzynski <digitalfreak@lingonborough.com>
 	    Egmont Koblinger  <egmont@gmail.com>
 
diff --git a/nis/Makefile b/nis/Makefile
index fae30d5..01ec4dc 100644
--- a/nis/Makefile
+++ b/nis/Makefile
@@ -68,7 +68,15 @@ libnss_nis-inhibit-o	= $(filter-out .os,$(object-suffixes))
 libnss_nisplus-routines	:= $(addprefix nisplus-,$(databases)) nisplus-parser \
 			   nss-nisplus nisplus-initgroups
 libnss_nisplus-inhibit-o = $(filter-out .os,$(object-suffixes))
-endif
+
+else # not $(build-obsolete-nsl)
+# Pretend that libnsl.so is a linker script, so that the symbolic link
+# is not installed.
+install-lib-ldscripts = libnsl.so
+$(inst_libdir)/libnsl.so:
+libnsl-inhibit-o = .o # Build no static libnsl.a.
+
+endif # not $(build-obsolete-nsl)
 
 include ../Rules
 

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog    |    7 +++++++
 nis/Makefile |   10 +++++++++-
 2 files changed, 16 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]