Skip to content

Commit

Permalink
Add support for FreeBSD PowerPC Big/Little Endian
Browse files Browse the repository at this point in the history
  • Loading branch information
lenoil98 authored and matthiasblaesing committed Oct 16, 2024
1 parent afea122 commit fd10a24
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -398,6 +398,10 @@ com/sun/jna/freebsd-x86-64/libjnidispatch.so;
processor=x86-64;osname=freebsd,
com/sun/jna/freebsd-aarch64/libjnidispatch.so;
processor=aarch64;osname=freebsd,
com/sun/jna/freebsd-ppc64le/libjnidispatch.so;
processor=ppc64le;osname=freebsd,
com/sun/jna/freebsd-ppc64/libjnidispatch.so;
processor=ppc64;osname=freebsd,
com/sun/jna/openbsd-x86/libjnidispatch.so;
processor=x86;osname=openbsd,
Expand Down Expand Up @@ -535,6 +539,12 @@ osname=macosx;processor=aarch64
<zipfileset src="${lib.native}/freebsd-aarch64.jar"
includes="*jnidispatch*"
prefix="com/sun/jna/freebsd-aarch64"/>
<zipfileset src="${lib.native}/freebsd-ppc64le.jar"
includes="*jnidispatch*"
prefix="com/sun/jna/freebsd-ppc64le"/>
<zipfileset src="${lib.native}/freebsd-ppc64.jar"
includes="*jnidispatch*"
prefix="com/sun/jna/freebsd-ppc64"/>
<zipfileset src="${lib.native}/openbsd-x86.jar"
includes="*jnidispatch*"
prefix="com/sun/jna/openbsd-x86"/>
Expand Down Expand Up @@ -725,6 +735,8 @@ osname=macosx;processor=aarch64
<copy file="${lib.native}/out-of-date.jar" tofile="${lib.native}/freebsd-x86.jar" overwrite="true"/>
<copy file="${lib.native}/out-of-date.jar" tofile="${lib.native}/freebsd-x86-64.jar" overwrite="true"/>
<copy file="${lib.native}/out-of-date.jar" tofile="${lib.native}/freebsd-aarch64.jar" overwrite="true"/>
<copy file="${lib.native}/out-of-date.jar" tofile="${lib.native}/freebsd-ppc64le.jar" overwrite="true"/>
<copy file="${lib.native}/out-of-date.jar" tofile="${lib.native}/freebsd-ppc64.jar" overwrite="true"/>
<copy file="${lib.native}/out-of-date.jar" tofile="${lib.native}/openbsd-x86.jar" overwrite="true"/>
<copy file="${lib.native}/out-of-date.jar" tofile="${lib.native}/openbsd-x86-64.jar" overwrite="true"/>
<copy file="${lib.native}/out-of-date.jar" tofile="${lib.native}/sunos-x86.jar" overwrite="true"/>
Expand Down
Binary file added lib/native/freebsd-ppc64.jar
Binary file not shown.
Binary file added lib/native/freebsd-ppc64le.jar
Binary file not shown.

0 comments on commit fd10a24

Please sign in to comment.