From d669706f68f2617cc6ca3c3ca5c168df118f4949 Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Wed, 2 Dec 2009 22:32:57 +0000 Subject: [PATCH] make sure to read from config.py if switching from FAST=True to FAST=False during configure stage --- SConstruct | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/SConstruct b/SConstruct index 36b680c7e..dbd1ffbdf 100644 --- a/SConstruct +++ b/SConstruct @@ -524,6 +524,9 @@ if not preconfigured: color_print(4,'Configuring build environment...') + if not env['FAST']: + SetCacheMode('force') + if env['USE_CONFIG']: if not env['CONFIG'].endswith('.py'): color_print(1,'SCons CONFIG file specified is not a python file, will not be read...') @@ -567,7 +570,7 @@ if not preconfigured: env['LIBDIR_SCHEMA'] = LIBDIR_SCHEMA env['PLUGINS'] = PLUGINS - + if env['PKG_CONFIG_PATH']: env['ENV']['PKG_CONFIG_PATH'] = env['PKG_CONFIG_PATH'] # otherwise this variable == os.environ["PKG_CONFIG_PATH"]