Update NativeLibrary.java

delete unversioned lib judge
This commit is contained in:
韩董 2019-09-28 01:08:37 +08:00 committed by GitHub
parent ffd9edffeb
commit f4a49de004
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -132,11 +132,6 @@ final class NativeLibrary {
}
private static String getVersionedLibraryName(String libFilename) {
// If the resource exists as an unversioned file, return that.
// if (resourceExists(libFilename)) {
// return libFilename;
// }
final String versionName = getMajorVersionNumber();
// If we're on darwin, the versioned libraries look like blah.1.dylib.