aboutsummaryrefslogtreecommitdiffstats
path: root/make/build-nativewindow.xml
diff options
context:
space:
mode:
Diffstat (limited to 'make/build-nativewindow.xml')
-rw-r--r--make/build-nativewindow.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/make/build-nativewindow.xml b/make/build-nativewindow.xml
index 53f91f6f0..ceb5a8661 100644
--- a/make/build-nativewindow.xml
+++ b/make/build-nativewindow.xml
@@ -648,6 +648,7 @@
<target name="rename.dylib" if="isOSX">
<move file="${src}" tofile="${dest}" />
+ <copy file="${dest}" tofile="${dest-cdc}" />
</target>
<macrodef name="c.build">
@@ -744,6 +745,7 @@
<antcall target="rename.dylib" inheritRefs="true">
<param name="src" value="${build}/obj/lib@{output.lib.name}.dylib" />
<param name="dest" value="${build}/obj/lib@{output.lib.name}.jnilib" />
+ <param name="dest-cdc" value="${build}/obj/lib@{output.lib.name}.so" />
</antcall>
<!-- FIXME: this is a hack; the cpptask should have an option to change the
@@ -808,6 +810,12 @@
<include name="*.${native.library.suffix}" />
</fileset>
</jar>
+ <jar destfile="${build}/nativewindow-cdc-natives-${os.and.arch}.jar">
+ <fileset dir="${obj}">
+ <include name="*_jvm.${native.library.suffix-cdc}" />
+ <include name="*_x11.${native.library.suffix-cdc}" />
+ </fileset>
+ </jar>
</target>
<!-- ================================================================== -->