From: Todd C. Miller Date: Tue, 1 Jun 2010 16:35:19 +0000 (-0400) Subject: Add back -I$(top_srcdir); we need it for including compat/foo.h X-Git-Tag: SUDO_1_8_0~549 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1afba5165e64d8eba7fa447ce28eabc94b11e14b;p=sudo Add back -I$(top_srcdir); we need it for including compat/foo.h since we cannot rely on "foo.h" being found relative to the source file when the cwd is different. --- diff --git a/plugins/sudoers/Makefile.in b/plugins/sudoers/Makefile.in index cd4b52846..5061b4943 100644 --- a/plugins/sudoers/Makefile.in +++ b/plugins/sudoers/Makefile.in @@ -50,7 +50,7 @@ SUDOERS_LIBS = @SUDOERS_LIBS@ @AFS_LIBS@ @GETGROUPS_LIB@ $(LIBS) $(NET_LIBS) @ZL REPLAY_LIBS = @REPLAY_LIBS@ @ZLIB@ # C preprocessor flags -CPPFLAGS = -I$(incdir) -I$(top_builddir) -I$(srcdir) @CPPFLAGS@ +CPPFLAGS = -I$(incdir) -I$(top_builddir) -I$(srcdir) -I$(top_srcdir) @CPPFLAGS@ # Usually -O and/or -g CFLAGS = @CFLAGS@