commit | 1e90b4fa70b01a884cee1139fb8eb817738052a5 | [log] [tgz] |
---|---|---|
author | Sam Lantinga <slouken@libsdl.org> | Wed Sep 05 15:54:46 2018 -0700 |
committer | Sam Lantinga <slouken@libsdl.org> | Wed Sep 05 15:54:46 2018 -0700 |
tree | 7c5be3e39074aba92fba79bdefff529ca1e00843 | |
parent | b622604370c596a7ba8dcdd2329b1e85d650ad50 [diff] |
Fixed bug 4002 - Android, nativeRunMain() fails on some phone with arm64-v8a Sylvain The issue is totally reproducible on P8 Lite. "The dlopen() call doesn't include the app's native library directory. The behavior of dlopen() by Android is not guaranteed". Workaround in getMainSharedObject() Just replace return library; with return getContext().getApplicationInfo().nativeLibraryDir + "/" + library;