File tree 1 file changed +5
-1
lines changed
src/main/java/org/purejava/appindicator
1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -45,6 +45,7 @@ public final class AppIndicator {
45
45
46
46
allPath .add ("/usr/lib" ); // for systems, that don't implement multiarch
47
47
allPath .add ("/app/lib" ); // for flatpak and libraries in the flatpak sandbox
48
+ allPath .add ("/usr/lib64" ); // for Fedora-like distributions
48
49
for (String path : allPath ) {
49
50
try {
50
51
System .load (path + File .separator + AYATANA_APPINDICATOR_VERSION );
@@ -66,7 +67,10 @@ public final class AppIndicator {
66
67
}
67
68
}
68
69
69
- // When loading via System.load wasn't successful, try to load via System.loadLibrary
70
+ // When loading via System.load wasn't successful, try to load via System.loadLibrary.
71
+ // System.loadLibrary builds the libname by prepending the prefix JNI_LIB_PREFIX
72
+ // and appending the suffix JNI_LIB_SUFFIX. This usually does not work for library files
73
+ // with an ending like '3.so.1'.
70
74
if (!isLoaded ) {
71
75
try {
72
76
System .loadLibrary (AYATANA_APPINDICATOR_LIBNAME_VERSION );
You can’t perform that action at this time.
0 commit comments