diff options
author | Nathan Rossi <nathan@nathanrossi.com> | 2017-03-09 23:59:31 +1000 |
---|---|---|
committer | Juro Bystricky <juro.bystricky@intel.com> | 2017-04-06 13:47:39 -0700 |
commit | 0234c2291ad35b637821efda80f1ba5e77c7bf26 (patch) | |
tree | ce8675d50a03d46772c876e34c8b502064bf2fcc | |
parent | c367e072565f276eee0b2b8a6410178f01f68758 (diff) | |
download | meta-mingw-0234c2291ad35b637821efda80f1ba5e77c7bf26.tar.gz |
glib-2.0: Handle packaging .dll and .exe files for mingw32
Handle the packaging of .dll files into the ${PN} package, also package
only certain .exe files into the ${PN} and others into the ${PN}-utils
packages. This is required due to the mingw/windows convention where
.dll's are shipped in the bindir.
Move the packaging of *.def into the ${PN}-dev package, it is only used
during development/compilation.
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
-rw-r--r-- | recipes-core/glib-2.0/glib-2.0_%.bbappend | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/recipes-core/glib-2.0/glib-2.0_%.bbappend b/recipes-core/glib-2.0/glib-2.0_%.bbappend index 5683364..2accd7a 100644 --- a/recipes-core/glib-2.0/glib-2.0_%.bbappend +++ b/recipes-core/glib-2.0/glib-2.0_%.bbappend | |||
@@ -1,5 +1,5 @@ | |||
1 | EXTRA_OECONF_mingw32 = "--enable-included-printf=yes ${CORECONF}" | 1 | EXTRA_OECONF_mingw32 = "--enable-included-printf=yes ${CORECONF}" |
2 | FILES_${PN}_append_mingw32 = " ${libdir}/charset.alias ${libdir}/gthread-2.0.def" | 2 | FILES_${PN}_append_mingw32 = " ${libdir}/charset.alias" |
3 | 3 | ||
4 | # glib always provides bash-completion output, package the output but prevent | 4 | # glib always provides bash-completion output, package the output but prevent |
5 | # the dependency chain on bash (via bash-completion) for mingw32 targets only. | 5 | # the dependency chain on bash (via bash-completion) for mingw32 targets only. |
@@ -8,3 +8,10 @@ RDEPENDS_${PN}-bash-completion_remove_mingw32 = "bash-completion" | |||
8 | # libmount is not buildable for mingw/windows | 8 | # libmount is not buildable for mingw/windows |
9 | PACKAGECONFIG_remove_mingw32 = "libmount" | 9 | PACKAGECONFIG_remove_mingw32 = "libmount" |
10 | 10 | ||
11 | FILES_${PN}_append_mingw32 = " \ | ||
12 | ${bindir}/lib*.dll \ | ||
13 | ${libexecdir}/*gio-querymodules.exe \ | ||
14 | " | ||
15 | FILES_${PN}-dev_append_mingw32 = " ${libdir}/*.def" | ||
16 | FILES_${PN}-utils_mingw32 = "${bindir}/*.exe" | ||
17 | |||