summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--vars/build.vars2
-rw-r--r--vars/dist_minipix_libs.vars13
2 files changed, 14 insertions, 1 deletions
diff --git a/vars/build.vars b/vars/build.vars
index b4ca64ce..b54a6c67 100644
--- a/vars/build.vars
+++ b/vars/build.vars
@@ -1079,7 +1079,7 @@ DIST_MINIPIX_PREFIX="${PREFIX_MINIPIX}";
# Build target dist_target
#
DIST_TARGET_NO_LOG_VARS=1;
-DIST_TARGET_PACKAGES="dist_etc dist_digest dist_tarballs";
+DIST_TARGET_PACKAGES="dist_minipix_libs dist_etc dist_digest dist_tarballs";
#
# Build targets
diff --git a/vars/dist_minipix_libs.vars b/vars/dist_minipix_libs.vars
new file mode 100644
index 00000000..37ac6454
--- /dev/null
+++ b/vars/dist_minipix_libs.vars
@@ -0,0 +1,13 @@
+#
+# set -o errexit -o noglob are assumed.
+#
+
+pkg_dist_minipix_libs_all() {
+ local _libname;
+ for _libname in libc libncursesw libpsxscl libu16ports; do
+ ex_rtl_fileop cp \
+ "${PREFIX_NATIVE}/lib/${_libname}.so" "${PREFIX_MINIPIX}/lib";
+ done;
+};
+
+# vim:filetype=sh