use arch name in sigar_version.c

This commit is contained in:
Doug MacEachern 2008-08-10 02:47:05 +00:00
parent 37d3ed6dda
commit 34d093981d
1 changed files with 3 additions and 1 deletions

View File

@ -143,6 +143,8 @@
value="../.."/> value="../.."/>
<param name="version.file" <param name="version.file"
value="src/sigar_version.c"/> value="src/sigar_version.c"/>
<param name="version.tofile"
value="${build}/src/sigar_version_${jni.libarch}.c"/>
</antcall> </antcall>
<antcall target="version-file"> <antcall target="version-file">
@ -212,7 +214,7 @@
<include name="bindings/java/src/${win32.jni}/*.cpp"/> <include name="bindings/java/src/${win32.jni}/*.cpp"/>
<include name="bindings/java/src/${win32.jni}/*.c"/> <include name="bindings/java/src/${win32.jni}/*.c"/>
<include name="bindings/java/src/${vmware.jni}/*.c"/> <include name="bindings/java/src/${vmware.jni}/*.c"/>
<include name="bindings/java/build/src/sigar_version.c"/> <include name="bindings/java/build/src/sigar_version_${jni.libarch}.c"/>
</patternset> </patternset>
<path id="jni.include.dirs"> <path id="jni.include.dirs">