From fe9e5d33bb1697bc92348f8e27da8f3d666965e2 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 17 Mar 2010 15:39:24 +1100 Subject: build: go into system includes for dependencies on configure --- lib/replace/wscript | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'lib') 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() -- cgit