mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-14 15:17:02 -04:00
LD_LIBRARY_PATH: Put lib/server to first path to make libjli.so ignore re-execute
This commit is contained in:
parent
002dd96a55
commit
f2d44e8f14
@ -1092,13 +1092,15 @@ public class MainActivity extends AppCompatActivity implements OnTouchListener,
|
||||
|
||||
String libName = System.getProperty("os.arch").contains("64") ? "lib64" : "lib";
|
||||
String ldLibraryPath = (
|
||||
// To make libjli.so ignore re-execute
|
||||
Tools.homeJreDir + "/lib/server:" +
|
||||
|
||||
"/system/" + libName + ":" +
|
||||
"/vendor/" + libName + ":" +
|
||||
"/vendor/" + libName + "/hw:" +
|
||||
|
||||
getApplicationInfo().nativeLibraryDir + ":" +
|
||||
|
||||
Tools.homeJreDir + "/lib/server:" +
|
||||
Tools.homeJreDir + "/lib/jli:" +
|
||||
Tools.homeJreDir + "/lib"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user