From 74e6adda57459b58e42cc5774e7fefc5a52739e4 Mon Sep 17 00:00:00 2001 From: Andrea Catania Date: Wed, 5 May 2021 11:35:33 +0200 Subject: [PATCH] Add env.Depends to modules_enabled.gen.h generator Sometimes scons doesn't detects that a new module is being added. This commit fix it. (cherry picked from commit b667e72adf372321775a45b56114b74d5d6da2a5) --- modules/SCsub | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/SCsub b/modules/SCsub index b3405bbcebc..678a614c952 100644 --- a/modules/SCsub +++ b/modules/SCsub @@ -10,6 +10,7 @@ env_modules = env.Clone() Export("env_modules") +env.Depends("modules_enabled.gen.h", Value(env.module_list)) env.CommandNoCache("modules_enabled.gen.h", Value(env.module_list), modules_builders.generate_modules_enabled) env.modules_sources = []