diff --git a/SConscript b/SConscript index 29f9f9e..3adc0df 100644 --- a/SConscript +++ b/SConscript @@ -172,6 +172,9 @@ default_CXX = { 'msvc': 'cl.exe' }.get(compiler, None) +if not os.path.isabs(config_file): + config_file = os.path.join(Dir('#').abspath, config_file) + vars = Variables(config_file) vars.Add('CC', 'The C Compiler', default_CC) vars.Add('CXX', 'The C++ Compiler', default_CXX)