1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-07-22 17:18:39 +00:00

Fix libgmp for Android

Android terminated immediately after start since commit
181f7baa45
because library wasn't loaded, and libminetest.so required
libgmp.so.10 instead of libgmp.so.

The second issue has been solved by the linker flags.
This commit is contained in:
est31 2015-05-15 05:02:19 +02:00
parent be18bd6a8c
commit 33a633a631
2 changed files with 9 additions and 1 deletions

View file

@ -86,6 +86,12 @@ public class MtNativeActivity extends NativeActivity {
System.loadLibrary("vorbis");
System.loadLibrary("ssl");
System.loadLibrary("crypto");
System.loadLibrary("gmp");
// We don't have to load libminetest.so ourselves,
// but if we do, we get nicer logcat errors when
// loading fails.
System.loadLibrary("minetest");
}
private int m_MessagReturnCode;