diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-04-07 07:34:12 -0600 |
---|---|---|
committer | Kai Blin <kai@samba.org> | 2010-05-20 22:16:13 +0200 |
commit | 419873f2ee9997edd06f95758f7ab10aa1a8d15b (patch) | |
tree | aad5d9f3fa2bf89ef063fc1923b168c2027946ca /source3/build | |
parent | 538edd5fc0668e08d955f75a3524811c1e987e93 (diff) | |
download | samba-419873f2ee9997edd06f95758f7ab10aa1a8d15b.tar.gz |
s3-waf: All sorts of nasty hacks to finally get smbd to build/link
Pair-Programmed-With: Kai Blin <kai@samba.org>
Diffstat (limited to 'source3/build')
-rw-r--r-- | source3/build/wscript | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/build/wscript b/source3/build/wscript index 2940dd569d1..17c67484041 100644 --- a/source3/build/wscript +++ b/source3/build/wscript @@ -14,6 +14,9 @@ def set_options(opt): help=(help + ' [%s]' % default), action="store", dest=varname, default=default) + +cflags_vars = [ 'CONFIGFILE' ] + def configure(conf): # get all the basic GNU options from the gnu_dirs tool conf.check_tool('gnu_dirs') @@ -31,6 +34,8 @@ def configure(conf): conf.ASSERT(v != '', "Empty dynconfig value for %s" % f) conf.ASSERT(v.find('${') == -1, "Unsubstituted variable in %s : %s : %s" % (f, dyn_cflags[f], v)) conf.env[f] = v + if f in cflags_vars: + conf.DEFINE(f, v, quote=True) def build(bld): cflags = dynconfig_cflags(bld) |