diff --git a/wscript b/wscript index d8c6ef329c..18921dfc01 100644 --- a/wscript +++ b/wscript @@ -130,6 +130,9 @@ def configure(cfg): # Always use system extensions cfg.define('_GNU_SOURCE', 1) + # Allow to differentiate our build from the make build + cfg.define('WAF_BUILD', 1) + cfg.write_config_header(os.path.join(cfg.variant, 'ap_config.h')) def collect_dirs_to_recurse(bld, globs, **kw):