Revert https://github.com/godotengine/godot/pull/86682 for the Android platform as it breaks dynamic library loading
This commit is contained in:
parent
179dfdc8d7
commit
407855b8f8
@ -170,8 +170,6 @@ Error OS_Android::open_dynamic_library(const String p_path, void *&p_library_han
|
|||||||
so_file_exists = false;
|
so_file_exists = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
ERR_FAIL_COND_V(!FileAccess::exists(path), ERR_FILE_NOT_FOUND);
|
|
||||||
|
|
||||||
p_library_handle = dlopen(path.utf8().get_data(), RTLD_NOW);
|
p_library_handle = dlopen(path.utf8().get_data(), RTLD_NOW);
|
||||||
if (!p_library_handle && so_file_exists) {
|
if (!p_library_handle && so_file_exists) {
|
||||||
// The library may be on the sdcard and thus inaccessible. Try to copy it to the internal
|
// The library may be on the sdcard and thus inaccessible. Try to copy it to the internal
|
||||||
|
Loading…
Reference in New Issue
Block a user