mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
7d9e51e9ae
Upon including processing.serial.*, the java.library.path of the sketch - when compiled normally - gets expanded to include the location of the specific library subfolder. For exported sketches on MacOS, java.library.path points just to Contents/MacOS inside the application, which causes loadLibrary inside custom libraries to fail. Since those library files (*.jnilib) get copied into Contents/Java, change the java.library.path to include this location as well. Somewhat confident that this shouldn't break things, but this is touching core infrastructure.