aboutsummaryrefslogtreecommitdiff
path: root/nscd/Makefile
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2005-04-29 02:07:46 +0000
committerUlrich Drepper <drepper@redhat.com>2005-04-29 02:07:46 +0000
commit9393da465996d640ed79358bcd5e5c14cb83b16d (patch)
tree493f8aaa90271c069e364db37b1e8b32fb1d6ad6 /nscd/Makefile
parent453d8199be7ca2bc9885c9942f02b1e84ac041bf (diff)
downloadglibc-9393da465996d640ed79358bcd5e5c14cb83b16d.zip
glibc-9393da465996d640ed79358bcd5e5c14cb83b16d.tar.gz
glibc-9393da465996d640ed79358bcd5e5c14cb83b16d.tar.bz2
Help losers who use --with-headers.
Diffstat (limited to 'nscd/Makefile')
-rw-r--r--nscd/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/nscd/Makefile b/nscd/Makefile
index 75a9d43..7e0c4eb 100644
--- a/nscd/Makefile
+++ b/nscd/Makefile
@@ -59,6 +59,14 @@ endif
LDLIBS-nscd = $(selinux-LIBS)
+# The configure.in check for libselinux and its headers did not use
+# $SYSINCLUDES. The directory specified by --with-headers usually
+# contains only the basic kernel interface headers, not something like
+# libselinux. So the simplest thing is to presume that the standard
+# system headers will be ok for this file.
+$(objpfx)nscd_stat.o: sysincludes = # nothing
+$(objpfx)selinux.o: sysincludes = # nothing
+
distribute := nscd.h nscd-client.h dbg_log.h \
$(addsuffix .c, $(filter-out xmalloc,$(all-nscd-modules))) \
nscd_nischeck.c nscd.conf nscd.init nscd_proto.h \