summaryrefslogtreecommitdiff
path: root/modules/gdnative/SCsub
diff options
context:
space:
mode:
Diffstat (limited to 'modules/gdnative/SCsub')
-rw-r--r--modules/gdnative/SCsub3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/gdnative/SCsub b/modules/gdnative/SCsub
index f5a593cf4e..1641d26cbf 100644
--- a/modules/gdnative/SCsub
+++ b/modules/gdnative/SCsub
@@ -248,4 +248,5 @@ if ARGUMENTS.get('gdnative_wrapper', False):
if not env.msvc:
gd_wrapper_env.Append(CCFLAGS=['-fPIC'])
- gd_wrapper_env.Library("#bin/gdnative_wrapper_code", [gensource])
+ lib = gd_wrapper_env.Library("#bin/gdnative_wrapper_code", [gensource])
+ gd_wrapper_env.NoCache(lib)