15 lines
624 B
Diff
15 lines
624 B
Diff
--- jna-3.0.9/src/com/sun/jna/NativeLibrary.java 2008-10-28 20:30:54.000000000 -0400
|
|
+++ jna-3.0.9.orig/src/com/sun/jna/NativeLibrary.java 2008-11-15 18:29:52.000000000 -0500
|
|
@@ -374,8 +374,9 @@
|
|
return name;
|
|
}
|
|
else if (Platform.isLinux()) {
|
|
- if (isVersionedName(libName)) {
|
|
- // A specific version was requested - use as is for search
|
|
+ if (isVersionedName(libName) || libName.endsWith(".so")) {
|
|
+ // An already mapped name was specified - use as is
|
|
+ // for search
|
|
return libName;
|
|
}
|
|
}
|