- 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:
parent
469fa68b5c
commit
5851055a1a
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user