We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 43d07c7 commit fc9d7f8Copy full SHA for fc9d7f8
1 file changed
pdf2htmlEX/src/main/java/com/viliussutkus89/android/pdf2htmlex/pdf2htmlEX_exe.java
@@ -52,7 +52,10 @@ public pdf2htmlEX_exe(@NonNull Context ctx) {
52
super(ctx, null);
53
54
String nativeLibraryDir = ctx.getApplicationInfo().nativeLibraryDir;
55
- String LD_LIBRARY_PATH = m_environment.put("LD_LIBRARY_PATH", nativeLibraryDir);
+ String oldLibraryPath = m_environment.put("LD_LIBRARY_PATH", nativeLibraryDir);
56
+ if (null != oldLibraryPath) {
57
+ m_environment.put("LD_LIBRARY_PATH", oldLibraryPath + ":" + nativeLibraryDir);
58
+ }
59
60
File externalExecutable = new File(nativeLibraryDir, "libpdf2htmlEX-exe_not_lib.so");
61
0 commit comments