From 9393da465996d640ed79358bcd5e5c14cb83b16d Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 29 Apr 2005 02:07:46 +0000 Subject: Help losers who use --with-headers. --- nscd/Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/nscd/Makefile b/nscd/Makefile index 75a9d434f4..7e0c4eb30a 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 \ -- cgit 1.4.1