Xorg: Change library path
This commit is contained in:
@ -25,7 +25,7 @@ package io.neoterm;
|
|||||||
import android.view.KeyEvent;
|
import android.view.KeyEvent;
|
||||||
|
|
||||||
public class Globals {
|
public class Globals {
|
||||||
public static String XLIB_DIR = "/data/data/io.neoterm/files/usr/lib/";
|
public static String XLIB_DIR = "/data/data/io.neoterm/files/usr/lib/xorg-neoterm";
|
||||||
public static String XLIBS[] = {
|
public static String XLIBS[] = {
|
||||||
"x11_sdl_native_helpers",
|
"x11_sdl_native_helpers",
|
||||||
"x11_sdl-1.2",
|
"x11_sdl-1.2",
|
||||||
|
@ -46,7 +46,7 @@ class SessionComponent : NeoComponent {
|
|||||||
Globals.XLIBS
|
Globals.XLIBS
|
||||||
.plus(Globals.XAPP_LIBS)
|
.plus(Globals.XAPP_LIBS)
|
||||||
.forEach {
|
.forEach {
|
||||||
val soPath = "${NeoTermPath.LIB_PATH}/${wrapLibraryName(it)}"
|
val soPath = "${NeoTermPath.LIB_PATH}/xorg-neoterm/${wrapLibraryName(it)}"
|
||||||
NLog.e("SessionComponent", "Loading lib " + soPath)
|
NLog.e("SessionComponent", "Loading lib " + soPath)
|
||||||
try {
|
try {
|
||||||
System.load(soPath)
|
System.load(soPath)
|
||||||
|
Reference in New Issue
Block a user