Skip to content

Commit

Permalink
Also consider #defines for native interface
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiasblaesing committed Feb 19, 2023
1 parent 7071f08 commit 2032eb7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -818,6 +818,12 @@ osname=macosx;processor=aarch64
<arg value="JNIEXPORT"/>
<fileset dir="${build.headers}" includes="*.h"/>
</apply>
<apply dir="${build.headers}" executable="${grep}" parallel="true"
failonerror="${grep.required}" relative="true" output="${md5.file}"
error="${md5.file}.error" append="true">
<arg value="#define"/>
<fileset dir="${build.headers}" includes="*.h"/>
</apply>
<!-- Clean up gcj javah output to match that of Sun's javah -->
<fixcrlf file="${md5.file}" eol="unix"/>
<replaceregexp match="^((.*\.h):JNIEXPORT[^(]+)( +\(.*)"
Expand Down

0 comments on commit 2032eb7

Please sign in to comment.