From 0e0a22b02b011afd7342cdfa799e53dd5b104720 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 7 Nov 2011 16:57:05 +0000 Subject: Build and install experimental extensions when --experimental is passed. --- ext.wscript | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'ext.wscript') 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 -- cgit v1.2.1