summaryrefslogtreecommitdiff
path: root/source4/build/smb_build/makefile.pm
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-09-06 05:57:21 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:17:38 -0500
commit7ba7e54ac82929893d2b6cf992b84ad5ca94fbc5 (patch)
tree697082ef9267fff88526d1e43dc9de5457dafca2 /source4/build/smb_build/makefile.pm
parent0cee00cddc77ae9fd297ef9d09ee7b09edce6d66 (diff)
downloadsamba-7ba7e54ac82929893d2b6cf992b84ad5ca94fbc5.tar.gz
samba-7ba7e54ac82929893d2b6cf992b84ad5ca94fbc5.tar.bz2
samba-7ba7e54ac82929893d2b6cf992b84ad5ca94fbc5.zip
r18136: put lib/replace in the default include path
metze (This used to be commit 2b51391470d0ecf001cd869e4ab9ba7a3474a7fe)
Diffstat (limited to 'source4/build/smb_build/makefile.pm')
-rw-r--r--source4/build/smb_build/makefile.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/build/smb_build/makefile.pm b/source4/build/smb_build/makefile.pm
index 1d0bbd5f1a..fae5a4761c 100644
--- a/source4/build/smb_build/makefile.pm
+++ b/source4/build/smb_build/makefile.pm
@@ -117,7 +117,7 @@ sub _prepare_compiler_linker($)
}
if (!(abs_path($self->{config}->{srcdir}) eq abs_path($self->{config}->{builddir}))) {
- $builddir_headers= "-I\$(builddir)/include -I\$(builddir) -I\$(builddir)/lib ";
+ $builddir_headers= "-I\$(builddir)/include -I\$(builddir)/lib/replace -I\$(builddir) -I\$(builddir)/lib ";
}
$self->output(<< "__EOD__"
@@ -126,7 +126,7 @@ SHELL=$self->{config}->{SHELL}
PERL=$self->{config}->{PERL}
CPP=$self->{config}->{CPP}
-CPPFLAGS=$builddir_headers-I\$(srcdir)/include -I\$(srcdir) -I\$(srcdir)/lib -D_SAMBA_BUILD_ -DHAVE_CONFIG_H $self->{config}->{CPPFLAGS}
+CPPFLAGS=$builddir_headers-I\$(srcdir)/include -I\$(srcdir)/lib/replace -I\$(srcdir) -I\$(srcdir)/lib -D_SAMBA_BUILD_ -DHAVE_CONFIG_H $self->{config}->{CPPFLAGS}
CC=$self->{config}->{CC}
CFLAGS=$self->{config}->{CFLAGS} \$(CPPFLAGS)