From 11e508e3a689b5cebc26e4512719cce20f47d15f Mon Sep 17 00:00:00 2001 From: Lucas De Marchi Date: Wed, 18 May 2016 13:33:31 -0300 Subject: [PATCH] waf: define WAF_BUILD to allow different behavior in make --- wscript | 3 +++ 1 file changed, 3 insertions(+) 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):