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, 1 insertions, 2 deletions
diff --git a/modules/gdnative/SCsub b/modules/gdnative/SCsub
index 1641d26cbf..fd11c8d094 100644
--- a/modules/gdnative/SCsub
+++ b/modules/gdnative/SCsub
@@ -248,5 +248,4 @@ if ARGUMENTS.get('gdnative_wrapper', False):
if not env.msvc:
gd_wrapper_env.Append(CCFLAGS=['-fPIC'])
- lib = gd_wrapper_env.Library("#bin/gdnative_wrapper_code", [gensource])
- gd_wrapper_env.NoCache(lib)
+ lib = gd_wrapper_env.add_library("#bin/gdnative_wrapper_code", [gensource])