summaryrefslogtreecommitdiffstats
path: root/modules/gdnative/gdnative.cpp
diff options
context:
space:
mode:
authorEmmanuel Leblond <emmanuel.leblond@gmail.com>2017-10-02 13:45:47 +0200
committerEmmanuel Leblond <emmanuel.leblond@gmail.com>2017-10-02 13:45:47 +0200
commitc55b8217ab9f4bce35a8053cf2e548469b821bca (patch)
tree9425e037320d47221a4de2f5ce5a53c65934ad50 /modules/gdnative/gdnative.cpp
parentc11c951871b50edfef5ebd7d034e2ea0975b4b9a (diff)
downloadredot-engine-c55b8217ab9f4bce35a8053cf2e548469b821bca.tar.gz
[GDnative] Add active_library_path to init options struct
Diffstat (limited to 'modules/gdnative/gdnative.cpp')
-rw-r--r--modules/gdnative/gdnative.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gdnative/gdnative.cpp b/modules/gdnative/gdnative.cpp
index 4882c1014b..f0c09a3370 100644
--- a/modules/gdnative/gdnative.cpp
+++ b/modules/gdnative/gdnative.cpp
@@ -269,6 +269,7 @@ bool GDNative::initialize() {
options.editor_api_hash = ClassDB::get_api_hash(ClassDB::API_EDITOR);
options.no_api_hash = ClassDB::get_api_hash(ClassDB::API_NONE);
options.gd_native_library = (godot_object *)(get_library().ptr());
+ options.active_library_path = (godot_string *)&path;
library_init_fpointer(&options);