summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nslcd/Makefile.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/nslcd/Makefile.am b/nslcd/Makefile.am
index d5f908c..0cdb313 100644
--- a/nslcd/Makefile.am
+++ b/nslcd/Makefile.am
@@ -36,6 +36,8 @@ nslcd_LDADD = ../common/libtio.a ../common/libdict.a \
../common/libexpr.a ../compat/libcompat.a \
@nslcd_LIBS@ @PTHREAD_LIBS@
+$(patsubst %.c,%.o,$(shell grep -lF common.h *.c)): dispatch.h
+
dispatch.c: $(filter db_%.c,$(nslcd_SOURCES)) $(filter-out .deps/%,$(MAKEFILE_LIST))
{ \
echo '#define _XOPEN_SOURCE 500 /* for pthread_rwlock_t */' && \