build: added include/public to the list of include paths
authorAndrew Tridgell <tridge@samba.org>
Mon, 28 Feb 2011 07:56:33 +0000 (18:56 +1100)
committerAndrew Tridgell <tridge@samba.org>
Tue, 15 Mar 2011 01:22:19 +0000 (12:22 +1100)
this allows us to use the public name of any header in the source tree

wscript

diff --git a/wscript b/wscript
index 0dd8c90524cbaf51cba128c4f3585691634d29a5..d7c274482268169c968eafac73221a919fe60029 100755 (executable)
--- a/wscript
+++ b/wscript
@@ -72,7 +72,7 @@ def configure(conf):
     # this enables smbtorture.static for s3 in the build farm
     conf.env.BUILD_FARM = Options.options.BUILD_FARM or os.environ.get('RUN_FROM_BUILD_FARM')
 
-    conf.ADD_EXTRA_INCLUDES('#source4 #lib #source4/lib #source4/include #include')
+    conf.ADD_EXTRA_INCLUDES('#include/public #source4 #lib #source4/lib #source4/include #include')
 
     conf.RECURSE('lib/replace')