mirror of https://github.com/ArduPilot/ardupilot
waf: define WAF_BUILD to allow different behavior in make
This commit is contained in:
parent
9ccce2c980
commit
11e508e3a6
3
wscript
3
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):
|
||||
|
|
Loading…
Reference in New Issue