Skip to content

Commit 3e998c0

Browse files
matthiasblaesingandrew-nowak
authored andcommitted
Also consider #defines for native interface
1 parent ee7c221 commit 3e998c0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

build.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -818,6 +818,12 @@ osname=macosx;processor=aarch64
818818
<arg value="JNIEXPORT"/>
819819
<fileset dir="${build.headers}" includes="*.h"/>
820820
</apply>
821+
<apply dir="${build.headers}" executable="${grep}" parallel="true"
822+
failonerror="${grep.required}" relative="true" output="${md5.file}"
823+
error="${md5.file}.error" append="true">
824+
<arg value="#define"/>
825+
<fileset dir="${build.headers}" includes="*.h"/>
826+
</apply>
821827
<!-- Clean up gcj javah output to match that of Sun's javah -->
822828
<fixcrlf file="${md5.file}" eol="unix"/>
823829
<replaceregexp match="^((.*\.h):JNIEXPORT[^(]+)( +\(.*)"

0 commit comments

Comments
 (0)