aboutsummaryrefslogtreecommitdiff
path: root/nis
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2018-01-26 19:01:03 +0100
committerAndreas Schwab <schwab@linux-m68k.org>2018-01-26 19:03:44 +0100
commit5503f413bf4221d26f83333bb42d7b2cd056236c (patch)
tree7ec6655bb0d6bf60402600b52c27ccf9571081fd /nis
parentcaaf7804e26c1a4f28a1bf7cfe1075d06bce1255 (diff)
downloadglibc-5503f413bf4221d26f83333bb42d7b2cd056236c.zip
glibc-5503f413bf4221d26f83333bb42d7b2cd056236c.tar.gz
glibc-5503f413bf4221d26f83333bb42d7b2cd056236c.tar.bz2
Build only shared libnsl objects if NIS is disabled (bug 22701)
Diffstat (limited to 'nis')
-rw-r--r--nis/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/nis/Makefile b/nis/Makefile
index 01ec4dc..e7497f7 100644
--- a/nis/Makefile
+++ b/nis/Makefile
@@ -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)