summary refs log tree commit diff
path: root/nscd/Makefile
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2017-10-10 14:09:02 +0200
committerAndreas Schwab <schwab@suse.de>2017-10-11 15:51:52 +0200
commit2faa42daa886cc176dfc10fef2308c9191a6ec7f (patch)
tree3d40397552004382b7da9af9da37692657fc7dec /nscd/Makefile
parentd8425e116cdd954fea0c04c0f406179b5daebbb3 (diff)
downloadglibc-2faa42daa886cc176dfc10fef2308c9191a6ec7f.tar.gz
glibc-2faa42daa886cc176dfc10fef2308c9191a6ec7f.tar.xz
glibc-2faa42daa886cc176dfc10fef2308c9191a6ec7f.zip
nscd: remove reference to libnsl
This removes the dependency on libnsl from nscd.  It only used __nis_hash,
build its own copy under the name __nscd_hash.
Diffstat (limited to 'nscd/Makefile')
-rw-r--r--nscd/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/nscd/Makefile b/nscd/Makefile
index 4126996887..095f3e53d4 100644
--- a/nscd/Makefile
+++ b/nscd/Makefile
@@ -25,7 +25,7 @@ include ../Makeconfig
 ifneq ($(use-nscd),no)
 routines := nscd_getpw_r nscd_getgr_r nscd_gethst_r nscd_getai \
 	    nscd_initgroups nscd_getserv_r nscd_netgroup
-aux	:= nscd_helper
+aux	:= nscd_helper nscd_hash
 endif
 
 # To find xmalloc.c
@@ -36,7 +36,7 @@ nscd-modules := nscd connections pwdcache getpwnam_r getpwuid_r grpcache \
 		getsrvbynm_r getsrvbypt_r servicescache \
 		dbg_log nscd_conf nscd_stat cache mem nscd_setup_thread \
 		xmalloc xstrdup aicache initgrcache gai res_hconf \
-		netgroupcache
+		netgroupcache nscd_hash
 
 ifeq ($(build-nscd)$(have-thread-library),yesyes)
 
@@ -97,7 +97,7 @@ include $(patsubst %,$(..)libof-iterator.mk,$(cpp-srcs-left))
 $(objpfx)nscd: $(nscd-modules:%=$(objpfx)%.o)
 
 ifeq ($(build-shared),yes)
-$(objpfx)nscd: $(shared-thread-library) $(common-objpfx)nis/libnsl.so
+$(objpfx)nscd: $(shared-thread-library)
 else
-$(objpfx)nscd: $(static-thread-library) $(common-objpfx)nis/libnsl.a
+$(objpfx)nscd: $(static-thread-library)
 endif