summaryrefslogtreecommitdiff
path: root/source4/build/smb_build/makefile.pl
diff options
context:
space:
mode:
Diffstat (limited to 'source4/build/smb_build/makefile.pl')
-rw-r--r--source4/build/smb_build/makefile.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/build/smb_build/makefile.pl b/source4/build/smb_build/makefile.pl
index 4d1da0764e..9ff0818f11 100644
--- a/source4/build/smb_build/makefile.pl
+++ b/source4/build/smb_build/makefile.pl
@@ -77,7 +77,7 @@ sub _prepare_compiler_linker($)
$output = "
CC=\@CC\@
-CC_FLAGS=-I./include -I./ -I./lib \@CFLAGS\@ \@CPPFLAGS\@
+CC_FLAGS=-Iinclude -I. -I$(srcdir)/include -I$(srcdir) -Ilib \@CFLAGS\@ \@CPPFLAGS\@
LD=\@CC\@
LD_FLAGS=\@LDFLAGS\@ \@CFLAGS\@