diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-03-17 15:39:24 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-04-06 20:26:50 +1000 |
commit | fe9e5d33bb1697bc92348f8e27da8f3d666965e2 (patch) | |
tree | 809976757b5acf823d1d851a046b9241d927cab2 /lib | |
parent | cf7f64b4e726ba1511d8625f214f785349211d01 (diff) | |
download | samba-fe9e5d33bb1697bc92348f8e27da8f3d666965e2.tar.gz samba-fe9e5d33bb1697bc92348f8e27da8f3d666965e2.tar.bz2 samba-fe9e5d33bb1697bc92348f8e27da8f3d666965e2.zip |
build: go into system includes for dependencies on configure
Diffstat (limited to 'lib')
-rw-r--r-- | lib/replace/wscript | 8 |
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() |