about summary refs log tree commit diff
path: root/nss
diff options
context:
space:
mode:
Diffstat (limited to 'nss')
-rw-r--r--nss/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/nss/Makefile b/nss/Makefile
index 685047fc42..e481446d38 100644
--- a/nss/Makefile
+++ b/nss/Makefile
@@ -36,8 +36,8 @@ routines		= nsswitch $(addsuffix -lookup,$(databases))
 databases		= proto service hosts network grp pwd rpc ethers \
 			  spwd netgrp key alias
 
-others                  := getent
-install-bin             := getent
+others                  := getent makedb
+install-bin             := getent makedb
 
 tests			= test-netdb
 
@@ -72,6 +72,8 @@ generated		+= $(filter-out db-alias.c db-netgrp.c, \
 distribute		+= db-XXX.c nss_db.h dummy-db.h
 
 
+$(objpfx)makedb: $(libdl)
+
 # Build static module if requested
 ifneq ($(build-static-nss),yes)
 libnss_files-inhibit-o	= $(filter-out .os,$(object-suffixes))