Fix Mac OS X Webstart OpenAL by searching for thw lwjgl library in addition to the openal library
This commit is contained in:
parent
d04c4920b8
commit
8412ce40ed
|
@ -146,12 +146,17 @@ public final class AL {
|
|||
}
|
||||
|
||||
String jwsPath = getPathFromJWS(jwsLibname);
|
||||
Sys.log("getPathFromJWS: Paths found: " + jwsPath);
|
||||
if (jwsPath != null) {
|
||||
Sys.log("getPathFromJWS: Path found: " + jwsPath);
|
||||
libpath += seperator
|
||||
+ jwsPath.substring(0, jwsPath.lastIndexOf(File.separator));
|
||||
}
|
||||
|
||||
String lwjgl_jws_path = getPathFromJWS("lwjgl");
|
||||
if (lwjgl_jws_path != null) {
|
||||
Sys.log("getPathFromJWS: Path found: " + lwjgl_jws_path);
|
||||
libpath += seperator
|
||||
+ lwjgl_jws_path.substring(0, lwjgl_jws_path.lastIndexOf(File.separator));
|
||||
}
|
||||
StringTokenizer st = new StringTokenizer(libpath, seperator);
|
||||
|
||||
//create needed string array
|
||||
|
|
Loading…
Reference in New Issue