You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Remove unused GDNative code
This has been superseded by GDExtension so this code is no longer useful nor usable. There's still some GDNative-related stuff in platform export code which needs to be adapted for GDExtension (e.g. to include GDExtension libraries in exports).
This commit is contained in:
@@ -439,12 +439,12 @@ Error OS_Unix::open_dynamic_library(const String p_path, void *&p_library_handle
|
||||
}
|
||||
|
||||
if (!FileAccess::exists(path)) {
|
||||
//this code exists so gdnative can load .so files from within the executable path
|
||||
// This code exists so GDExtension can load .so files from within the executable path.
|
||||
path = get_executable_path().get_base_dir().plus_file(p_path.get_file());
|
||||
}
|
||||
|
||||
if (!FileAccess::exists(path)) {
|
||||
//this code exists so gdnative can load .so files from a standard unix location
|
||||
// This code exists so GDExtension can load .so files from a standard unix location.
|
||||
path = get_executable_path().get_base_dir().plus_file("../lib").plus_file(p_path.get_file());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user