From 6f66cad2cb72a478373f0ab78effd31b5ce5aa4d Mon Sep 17 00:00:00 2001 From: Relintai Date: Sun, 7 Aug 2022 20:46:39 +0200 Subject: [PATCH] Main build script: Properly set module_ name _enabled in environment to false for modules that get disabled using can_build(). --- SConstruct | 2 ++ 1 file changed, 2 insertions(+) diff --git a/SConstruct b/SConstruct index d8ff55f08..acf3807a1 100644 --- a/SConstruct +++ b/SConstruct @@ -606,6 +606,8 @@ if selected_platform in platform_list: # Default path for module icons env.module_icons_paths.append(path + "/" + "icons") modules_enabled[name] = path + else: + env["module_" + name + "_enabled"] = False sys.path.remove(path) sys.modules.pop("config")