- fix check for osx hack in natives extraction
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10959 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
@@ -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
|
||||
if(url == null){
|
||||
path = fullname;
|
||||
if(sysName.equals("macosx") && !fullname.contains(".")){
|
||||
if(sysName.equals("macosx") && !name.contains(".")){
|
||||
path = path.replaceAll("dylib","jnilib");
|
||||
}
|
||||
url = Thread.currentThread().getContextClassLoader().getResource(path);
|
||||
|
||||
Reference in New Issue
Block a user