summaryrefslogtreecommitdiff
path: root/android
diff options
context:
space:
mode:
authorChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2017-08-31 18:25:33 +0200
committerChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2017-08-31 18:29:07 +0200
commit0aad6244eb1a894fc399769b7dc52e23888b6982 (patch)
tree97434ec11c9ff229a6cd1f88339b07f5b670e032 /android
parent36910b444cee523766fb812ec85ad8f2b5096680 (diff)
need to manuall load all native-libs on e.g. Jellybean
511ae02c6457e69cb6daab871acd9c3e7d64e2e3 introduced additional libraries that are not merged to the single liblo-native-code.so These need to be manually loaded in correct order. See https://stackoverflow.com/questions/11058898/loading-shared-libs-that-depend-on-other-shared-libs for details. Change-Id: I34b279b69de8a0f8f58f8f980e5b3a7347cd0439
Diffstat (limited to 'android')
-rw-r--r--android/Bootstrap/src/org/libreoffice/kit/LibreOfficeKit.java14
1 files changed, 14 insertions, 0 deletions
diff --git a/android/Bootstrap/src/org/libreoffice/kit/LibreOfficeKit.java b/android/Bootstrap/src/org/libreoffice/kit/LibreOfficeKit.java
index 487d647d06f8..02a27941605a 100644
--- a/android/Bootstrap/src/org/libreoffice/kit/LibreOfficeKit.java
+++ b/android/Bootstrap/src/org/libreoffice/kit/LibreOfficeKit.java
@@ -107,6 +107,20 @@ class NativeLibLoader {
protected static synchronized void load() {
if (done)
return;
+ // TODO: those should likely be merged to lo-native-code as well
+ System.loadLibrary("nspr4");
+ System.loadLibrary("plds4");
+ System.loadLibrary("plc4");
+ System.loadLibrary("nssutil3");
+ System.loadLibrary("freebl3");
+ System.loadLibrary("sqlite3");
+ System.loadLibrary("softokn3");
+ System.loadLibrary("nss3");
+ System.loadLibrary("nssckbi");
+ System.loadLibrary("nssdbm3");
+ System.loadLibrary("smime3");
+ System.loadLibrary("ssl3");
+
System.loadLibrary("lo-native-code");
done = true;
}