|
|
@ -152,7 +152,7 @@ public final class Natives { |
|
|
|
// Also check for binaries that are not packed in folders by jme team, e.g. maven artifacts
|
|
|
|
// Also check for binaries that are not packed in folders by jme team, e.g. maven artifacts
|
|
|
|
if(url == null){ |
|
|
|
if(url == null){ |
|
|
|
path = fullname; |
|
|
|
path = fullname; |
|
|
|
if(sysName.equals("macosx") && !fullname.contains(".")){ |
|
|
|
if(sysName.equals("macosx") && !name.contains(".")){ |
|
|
|
path = path.replaceAll("dylib","jnilib"); |
|
|
|
path = path.replaceAll("dylib","jnilib"); |
|
|
|
} |
|
|
|
} |
|
|
|
url = Thread.currentThread().getContextClassLoader().getResource(path); |
|
|
|
url = Thread.currentThread().getContextClassLoader().getResource(path); |
|
|
|