]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Build only shared libnsl objects if NIS is disabled (bug 22701)
authorAndreas Schwab <schwab@linux-m68k.org>
Fri, 26 Jan 2018 18:01:03 +0000 (19:01 +0100)
committerAndreas Schwab <schwab@linux-m68k.org>
Fri, 26 Jan 2018 18:03:44 +0000 (19:03 +0100)
ChangeLog
nis/Makefile

index 711eb4fd082e3fcb502f18702e6ab2e66d763932..78d133844350435d1033cd58508f4ac87499d768 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2018-01-26  Andreas Schwab  <schwab@linux-m68k.org>
+
+       [BZ #22701]
+       * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
+       Build only shared objects.
+
 2018-01-26  Carlos O'Donell  <carlos@redhat.com>
 
        * README: Update for hppa.
index 01ec4dc3574595b58f86b201e2d25d38b964c07f..e7497f724248304924e63d4e0011625d50cf2dcb 100644 (file)
@@ -74,7 +74,8 @@ else # not $(build-obsolete-nsl)
 # is not installed.
 install-lib-ldscripts = libnsl.so
 $(inst_libdir)/libnsl.so:
-libnsl-inhibit-o = .o # Build no static libnsl.a.
+# Build only shared libnsl.
+libnsl-inhibit-o = $(filter-out .os,$(object-suffixes))
 
 endif # not $(build-obsolete-nsl)