diff options
author | Henryk Ploetz <henryk@openmoko.org> | 2007-10-17 08:16:52 +0000 |
---|---|---|
committer | Henryk Ploetz <henryk@openmoko.org> | 2007-10-17 08:16:52 +0000 |
commit | 44d93f432e5c3aff0fb7e31c508e8100b640365e (patch) | |
tree | c96695bec8482670c0d9b8146aac7e0b4bbd1a02 /classes | |
parent | 568f2e6b483e8f0f4f8a9cc499f577c99284955c (diff) |
mono.bbclass: Stage all .dll files that have been packaged so that other packages can compile against them
Diffstat (limited to 'classes')
-rw-r--r-- | classes/mono.bbclass | 17 |
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 |