summaryrefslogtreecommitdiffstats
path: root/make/make.jogl.cdcfp.macosx.sh
diff options
context:
space:
mode:
Diffstat (limited to 'make/make.jogl.cdcfp.macosx.sh')
-rw-r--r--make/make.jogl.cdcfp.macosx.sh14
1 files changed, 13 insertions, 1 deletions
diff --git a/make/make.jogl.cdcfp.macosx.sh b/make/make.jogl.cdcfp.macosx.sh
index f9f79500e..d36f0bb7e 100644
--- a/make/make.jogl.cdcfp.macosx.sh
+++ b/make/make.jogl.cdcfp.macosx.sh
@@ -8,8 +8,20 @@ fi
# -Dc.compiler.debug=true
# -Dbuild.noarchives=true
+BUILD_SUBDIR=build-cdcfp-macosx
+
ant \
-Dbuild.noarchives=true \
-Dsetup.cdcfp=true \
- -Drootrel.build=build-cdcfp-macosx \
+ -Drootrel.build=$BUILD_SUBDIR \
$* 2>&1 | tee make.jogl.cdcfp.macosx.log
+
+rm -rf ../$BUILD_SUBDIR/lib
+mkdir -p ../$BUILD_SUBDIR/lib
+for i in `find ../$BUILD_SUBDIR/ -name \*jnilib` ; do
+ cp -v $i ../$BUILD_SUBDIR/lib/$(basename $i .jnilib).so
+done
+for i in `find ../../gluegen/$BUILD_SUBDIR/ -name \*jnilib` ; do
+ cp -v $i ../$BUILD_SUBDIR/lib/$(basename $i .jnilib).so
+done
+