From 3f4dbaf11e2fdaf37b02015496cef360a9d914b1 Mon Sep 17 00:00:00 2001 From: Patrick Wuttke Date: Sat, 2 Sep 2023 11:52:10 +0200 Subject: [PATCH] Fixed config file not being used. --- SConscript | 3 +++ 1 file changed, 3 insertions(+) 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)