Skip to content

Commit

Permalink
Revert godotengine#86682 for the Android platform as it breaks dynami…
Browse files Browse the repository at this point in the history
…c library loading
  • Loading branch information
m4gr3d committed Jan 4, 2024
1 parent 179dfdc commit 407855b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions platform/android/os_android.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,6 @@ Error OS_Android::open_dynamic_library(const String p_path, void *&p_library_han
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);
if (!p_library_handle && so_file_exists) {
// The library may be on the sdcard and thus inaccessible. Try to copy it to the internal
Expand Down

0 comments on commit 407855b

Please sign in to comment.