From 5851055a1a03f83cf2506823dae8de5d4d2fe0d6 Mon Sep 17 00:00:00 2001 From: "nor..67" Date: Mon, 6 Jan 2014 21:18:07 +0000 Subject: [PATCH] - fix check for osx hack in natives extraction git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10959 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- engine/src/desktop/com/jme3/system/Natives.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/src/desktop/com/jme3/system/Natives.java b/engine/src/desktop/com/jme3/system/Natives.java index fb0ba22d9..778436aab 100644 --- a/engine/src/desktop/com/jme3/system/Natives.java +++ b/engine/src/desktop/com/jme3/system/Natives.java @@ -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);