Skip to content

Commit 057f45f

Browse files
committed
Workaround for MacOSX java dynamic library load weirdness
See #2161
1 parent 6b7a8c0 commit 057f45f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

build/build.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,9 @@
298298
<get src="http://downloads.arduino.cc/libastylej-2.03.zip" dest="macosx" usetimestamp="true" skipexisting="true"/>
299299
<unzip src="macosx/libastylej-2.03.zip" dest="macosx" overwrite="true"/>
300300
<copy file="macosx/libastylej/libastylej.jnilib" todir="macosx/work/Arduino.app/Contents/Java/lib/" />
301+
<copy file="macosx/libastylej/libastylej.jnilib" tofile="macosx/work/Arduino.app/Contents/Java/lib/libastylej.dylib" />
301302
<chmod perm="755" file="macosx/work/Arduino.app/Contents/Java/lib/libastylej.jnilib" />
303+
<chmod perm="755" file="macosx/work/Arduino.app/Contents/Java/lib/libastylej.dylib" />
302304
</target>
303305

304306
<target name="macosx-run" depends="macosx-build" description="Run Mac OS X version">

0 commit comments

Comments
 (0)