summaryrefslogtreecommitdiff
path: root/modules/SCsub
diff options
context:
space:
mode:
Diffstat (limited to 'modules/SCsub')
-rw-r--r--modules/SCsub2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/SCsub b/modules/SCsub
index 42d89d6ce2..dc0420616c 100644
--- a/modules/SCsub
+++ b/modules/SCsub
@@ -16,7 +16,7 @@ for x in env.module_list:
env_modules.Append(CPPDEFINES=["MODULE_" + x.upper() + "_ENABLED"])
SConscript(x + "/SCsub")
-if env.split_modules:
+if env['split_libmodules']:
env.split_lib("modules", env_lib = env_modules)
else:
lib = env_modules.add_library("modules", env.modules_sources)