aboutsummaryrefslogtreecommitdiffstats
path: root/make/build-newt.xml
diff options
context:
space:
mode:
Diffstat (limited to 'make/build-newt.xml')
-rw-r--r--make/build-newt.xml22
1 files changed, 17 insertions, 5 deletions
diff --git a/make/build-newt.xml b/make/build-newt.xml
index d9d2e6645..4a5997b02 100644
--- a/make/build-newt.xml
+++ b/make/build-newt.xml
@@ -745,6 +745,18 @@
<filter token="JAR_CODEBASE_TAG" value="${jogamp.jar.codebase}"/>
</filterset>
</copy>
+ <copy file="${manifestfile}-natives"
+ tofile="${build.newt}/manifest-natives.mf"
+ overwrite="true">
+ <filterset>
+ <filter token="VERSION" value="${jogamp.version}"/>
+ <filter token="BUILD_VERSION" value="${jogl.version}"/>
+ <filter token="SCM_BRANCH" value="${jogl.build.branch}"/>
+ <filter token="SCM_COMMIT" value="${jogl.build.commit}"/>
+ <filter token="BASEVERSION" value="${jogamp.version.base}"/>
+ <filter token="JAR_CODEBASE_TAG" value="${jogamp.jar.codebase}"/>
+ </filterset>
+ </copy>
</target>
<target name="build-jars-awt" depends="setup-manifestfile" unless="setup.noAWT">
@@ -829,11 +841,11 @@
</target>
<target name="build-jars-native" depends="gluegen.cpptasks.detect.os,setup-manifestfile">
- <jar manifest="${build.newt}/manifest.mf" destfile="${build.newt}/newt-natives-${os.and.arch}.jar" filesonly="true">
- <fileset dir="${obj.newt}">
- <include name="*.${native.library.suffix}" />
- </fileset>
- </jar>
+ <native.tag.jar objdir="${obj.newt}"
+ nativejarfile="${build.newt}/newt-natives-${os.and.arch}.jar"
+ manifestfile="${build.newt}/manifest-natives.mf"
+ module="newt"
+ includelibs="*.${native.library.suffix}" />
</target>
<!-- ================================================================== -->