summaryrefslogtreecommitdiff
path: root/classes/mono.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'classes/mono.bbclass')
-rw-r--r--classes/mono.bbclass17
1 files changed, 17 insertions, 0 deletions
diff --git a/classes/mono.bbclass b/classes/mono.bbclass
index b7c5439b86..ccb16d9acc 100644
--- a/classes/mono.bbclass
+++ b/classes/mono.bbclass
@@ -140,6 +140,23 @@ python mono_do_clilibs() {
fd.close()
}
+do_mono_stage() {
+ if [ "${INHIBIT_MONO_STAGE}" = "1" ]
+ then
+ return
+ fi
+
+ for package in ${PACKAGES}; do
+ if [ -d "${PKGDEST}/${package}/${libdir}" ]; then
+ cd "${PKGDEST}/${package}/${libdir}"
+ for file in `find . -iname "*.dll"`; do
+ cp --parent -fpPR "${file}" "${STAGING_LIBDIR}/"
+ done
+ fi
+ done
+}
+addtask mono_stage after do_package before do_populate_staging
+
def mono_after_parse(d):
import bb
# Insert mono_do_clilibs into PACKAGEFUNCS