summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/replace/wscript8
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/replace/wscript b/lib/replace/wscript
index ab7ef9783d..44cf6462f7 100644
--- a/lib/replace/wscript
+++ b/lib/replace/wscript
@@ -6,7 +6,7 @@ blddir = 'bin'
import sys
sys.path.insert(0, srcdir+"/buildtools/wafsamba")
import wafsamba
-import Options, os
+import Options, os, preproc
def set_options(opt):
opt.tool_options('compiler_cc')
@@ -35,6 +35,12 @@ def configure(conf):
conf.env.hlist = []
conf.env.srcdir = conf.srcdir
+ # during the configure checks we want the waf dependency checker
+ # to go into system includes. This ensures that if you add/remove
+ # a system library, that 'waf configure' will detect that, and
+ # it won't be fooled by the waf cache
+ preproc.go_absolute = True
+
if Options.options.timestamp_dependencies:
conf.ENABLE_TIMESTAMP_DEPENDENCIES()