summaryrefslogtreecommitdiff
path: root/source4/build
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-01-01 05:06:22 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:07:54 -0500
commitf9e507980e6a3340ae135e81d3106a836116d6b0 (patch)
tree5d8197633914d86d3a95e6046fa21e235d643347 /source4/build
parentf80ce3ecb9f7ee2ccf5d71970f9c61ccc18e8c76 (diff)
downloadsamba-f9e507980e6a3340ae135e81d3106a836116d6b0.tar.gz
samba-f9e507980e6a3340ae135e81d3106a836116d6b0.tar.bz2
samba-f9e507980e6a3340ae135e81d3106a836116d6b0.zip
r4466: rather than defining "STANDALONE" for building tdb, ldb and talloc
outside the tree, instead defined _SAMBA_BUILD_ inside the Samba build. This makes it easier to pull code out of Samba for external use. (This used to be commit 09e98c8745cca7ccb1ad7134c0c09b8e4c0f4f06)
Diffstat (limited to 'source4/build')
-rw-r--r--source4/build/smb_build/makefile.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/build/smb_build/makefile.pm b/source4/build/smb_build/makefile.pm
index c606598568..0855beed08 100644
--- a/source4/build/smb_build/makefile.pm
+++ b/source4/build/smb_build/makefile.pm
@@ -83,7 +83,7 @@ sub _prepare_compiler_linker($)
$output = "
CC=\@CC\@
-CC_FLAGS=-Iinclude -I. -I\$(srcdir)/include -I\$(srcdir) -Ilib \@CFLAGS\@ \@CPPFLAGS\@
+CC_FLAGS=-Iinclude -I. -I\$(srcdir)/include -I\$(srcdir) -D_SAMBA_BUILD_ -Ilib \@CFLAGS\@ \@CPPFLAGS\@
LD=\@CC\@
LD_FLAGS=\@LDFLAGS\@ \@CFLAGS\@