s4-waf: don't auto-include bundled library headers
authorAndrew Tridgell <tridge@samba.org>
Sun, 28 Mar 2010 03:16:12 +0000 (14:16 +1100)
committerAndrew Tridgell <tridge@samba.org>
Tue, 6 Apr 2010 10:27:12 +0000 (20:27 +1000)
If we are going to use the system versions of these libraries then
we should not force the use of the non-system headers

source4/wscript

index 1320ceab57b32cd3f559f4d0318a21a1beb919e9..b7b66c6f1021e317cea9e2a539b2ffdb04c00538 100644 (file)
@@ -40,7 +40,7 @@ def configure(conf):
     # set a lower limit on recursing in waf preprocessor
     conf.env.preprocessor_recursion_limit = 10
 
-    conf.ADD_EXTRA_INCLUDES('#source4 #lib #source4/lib #source4/include #lib/replace #lib/talloc #lib/tevent')
+    conf.ADD_EXTRA_INCLUDES('#source4 #lib #source4/lib #source4/include')
 
     conf.sub_config('../lib/replace')