[JVM Launch] Pre-load libfreetype.so and libfontmanager.so, maybe fix RLCraft crashes

This commit is contained in:
khanhduytran0 2020-12-01 17:36:35 +07:00
parent 682b506f60
commit 7b2eaeac94

View File

@ -53,6 +53,8 @@ public class JREUtils
dlopen(findInLdLibPath("libnio.so"));
dlopen(findInLdLibPath("libawt.so"));
dlopen(findInLdLibPath("libawt_headless.so"));
dlopen(findInLdLibPath("libfreetype.so"));
dlopen(findInLdLibPath("libfontmanager.so"));
dlopen(nativeLibDir + "/libopenal.so");