aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2017-10-02 14:30:46 +0200
committerAndreas Schwab <schwab@suse.de>2017-10-04 14:20:48 +0200
commit64d1e08ea822bf47cb2796ad0f727136227f983c (patch)
tree52de75ef8311e28c26ce32650d8a4c959b6f25a2 /nis/Makefile
parent[BZ #22244] Fix yn(n,0) without SVID wrapper (diff)
downloadglibc-64d1e08ea822bf47cb2796ad0f727136227f983c.tar.gz
glibc-64d1e08ea822bf47cb2796ad0f727136227f983c.tar.bz2
glibc-64d1e08ea822bf47cb2796ad0f727136227f983c.zip
Move nss_compat from nis to nss subdir and install it unconditionally
This has been tested that local lookup still works with and without an installed libnss_nis, and that NIS lookup works when libnss_nis is available.
Diffstat (limited to 'nis/Makefile')
-rw-r--r--nis/Makefile6
1 files changed, 1 insertions, 5 deletions
diff --git a/nis/Makefile b/nis/Makefile
index 6b6f5ee72c..023916f446 100644
--- a/nis/Makefile
+++ b/nis/Makefile
@@ -33,7 +33,7 @@ databases = proto service hosts network grp pwd rpc ethers \
spwd netgrp alias publickey
# Specify rules for the nss_* modules.
-services := nis nisplus compat
+services := nis nisplus
endif
extra-libs = libnsl
@@ -63,9 +63,6 @@ libnsl-routines = yp_xdr ypclnt ypupdate_xdr \
nis_clone_res nss-default
ifeq ($(build-obsolete-nsl),yes)
-libnss_compat-routines := $(addprefix compat-,grp pwd spwd initgroups)
-libnss_compat-inhibit-o = $(filter-out .os,$(object-suffixes))
-
libnss_nis-routines := $(addprefix nis-,$(databases)) nis-initgroups \
nss-nis
libnss_nis-inhibit-o = $(filter-out .os,$(object-suffixes))
@@ -79,7 +76,6 @@ include ../Rules
ifeq ($(build-obsolete-nsl),yes)
-$(objpfx)libnss_compat.so: $(objpfx)libnsl.so$(libnsl.so-version)
$(objpfx)libnss_nis.so: $(objpfx)libnsl.so$(libnsl.so-version) \
$(common-objpfx)nss/libnss_files.so
$(objpfx)libnss_nisplus.so: $(objpfx)libnsl.so$(libnsl.so-version)