]> granicus.if.org Git - sudo/commitdiff
Add missing -I$(top_srcdir) to CPPFLAGS so includes in the compat dir
authorTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 30 Apr 2010 19:13:15 +0000 (15:13 -0400)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 30 Apr 2010 19:13:15 +0000 (15:13 -0400)
can be found when building outside the source tree.

plugins/sudoers/Makefile.in

index 6614394bb3f941a4df3c5dc5d2e8e513fc798468..c2759e0629c7677d03e93652bb0945d58dca4f2b 100644 (file)
@@ -51,7 +51,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@