mirror of
https://github.com/processing/processing4.git
synced 2026-02-13 02:20:45 +01:00
Merge pull request #2269 from gohai/serial-new
Appbundler: Add Contents/Java to java.library.path for loadLibrary to find .jnilib files
This commit is contained in:
@@ -185,7 +185,7 @@ int launch(char *commandName) {
|
||||
*/
|
||||
|
||||
// Set the library path
|
||||
NSString *libraryPath = [NSString stringWithFormat:@"-Djava.library.path=%@/Contents/MacOS", mainBundlePath];
|
||||
NSString *libraryPath = [NSString stringWithFormat:@"-Djava.library.path=:%@/Contents/Java:%@/Contents/MacOS", mainBundlePath, mainBundlePath];
|
||||
|
||||
// Get the VM options
|
||||
NSArray *options = [infoDictionary objectForKey:@JVM_OPTIONS_KEY];
|
||||
|
||||
Reference in New Issue
Block a user