Skip to content

Commit

Permalink
Set the target of macOS JNI binding to 10.9 (#156)
Browse files Browse the repository at this point in the history
  • Loading branch information
odaira committed Jan 17, 2020
1 parent 86e0416 commit 061d25a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions build.xml
Expand Up @@ -52,6 +52,10 @@
<os family="mac"/>
</condition>

<condition property="isMacOS">
<os family="mac"/>
</condition>

<condition property="java10+">
<javaversion atleast="10"/>
</condition>
Expand Down Expand Up @@ -210,6 +214,7 @@
<fileset dir="${src}/lz4/lib" includes="lz4.c, lz4hc.c, xxhash.c" />
<fileset dir="${src}/jni" includes="*.c" />
<linker />
<compilerarg value="-mmacosx-version-min=10.9" if="${isMacOS}"/>
</cpptasks:cc>
</target>

Expand Down
Binary file modified src/resources/net/jpountz/util/darwin/x86_64/liblz4-java.dylib
Binary file not shown.

0 comments on commit 061d25a

Please sign in to comment.