summaryrefslogtreecommitdiff
path: root/pwd
diff options
context:
space:
mode:
Diffstat (limited to 'pwd')
-rw-r--r--pwd/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/pwd/Makefile b/pwd/Makefile
index 6bb5b66005..ca0e363422 100644
--- a/pwd/Makefile
+++ b/pwd/Makefile
@@ -29,7 +29,7 @@ routines := fgetpwent getpw putpwent \
include ../Rules
# We can later add the names of other thread packages here.
-ifneq (,$(findstring linuxthreads,$(add-ons)))
+ifeq ($(have-thread-library),yes)
CFLAGS-getpwuid_r.c = -DUSE_NSCD=1
CFLAGS-getpwnam_r.c = -DUSE_NSCD=1