diff options
author | David Robillard <d@drobilla.net> | 2011-11-07 16:57:05 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-11-07 16:57:05 +0000 |
commit | 0e0a22b02b011afd7342cdfa799e53dd5b104720 (patch) | |
tree | fab966a1817c47ccf12e45b537f0de5154aa90f4 /ext.wscript | |
parent | 275d58b639fd0ea1b1060b314d97dd5752e94ed8 (diff) | |
download | lv2-0e0a22b02b011afd7342cdfa799e53dd5b104720.tar.xz |
Build and install experimental extensions when --experimental is passed.
Diffstat (limited to 'ext.wscript')
-rw-r--r-- | ext.wscript | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ext.wscript b/ext.wscript index 0d7436f..cbab22f 100644 --- a/ext.wscript +++ b/ext.wscript @@ -66,10 +66,12 @@ def options(opt): def should_build(ctx): top_level = (len(ctx.stack_path) <= 1) - return top_level or Options.options.experimental or ( + return top_level or ctx.env['EXPERIMENTAL'] or ( info.MINOR > 0 and info.MICRO % 2 == 0) def configure(conf): + conf.env['EXPERIMENTAL'] = Options.options.experimental + if not should_build(conf): return |