summaryrefslogtreecommitdiff
path: root/modules/SCsub
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2017-11-29 08:54:59 +0100
committerGitHub <noreply@github.com>2017-11-29 08:54:59 +0100
commit76725b6c1f73c8d160ad91b42c803a54c78298d4 (patch)
treebb650e1328d9436d317fdf5d7dd3bdceafe7d588 /modules/SCsub
parent6a83c8e8edffb84f5c30f4f1ecd705ee213aff4d (diff)
parenta65c0939fd1adc616275ad01996917fab89a7b9c (diff)
Merge pull request #13387 from rraallvv/refactor
Add target helper functions and refactor (master)
Diffstat (limited to 'modules/SCsub')
-rw-r--r--modules/SCsub3
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/SCsub b/modules/SCsub
index ea8b58b8c5..e3c535e981 100644
--- a/modules/SCsub
+++ b/modules/SCsub
@@ -17,7 +17,6 @@ for x in env.module_list:
env_modules.Append(CPPFLAGS=["-DMODULE_" + x.upper() + "_ENABLED"])
SConscript(x + "/SCsub")
-lib = env_modules.Library("modules", env.modules_sources)
-env_modules.NoCache(lib)
+lib = env_modules.add_library("modules", env.modules_sources)
env.Prepend(LIBS=[lib])