Message ID | c8b33597d1942f190a81c8914233bb66202c927a.1368603585.git.christian.braunersorensen@prevas.dk |
---|---|
State | Rejected |
Delegated to: | Esben Haabendal |
Headers | show |
<christian.braunersorensen@prevas.dk> writes: > From: Christian Sørensen <christian.braunersorensen@prevas.dk> > > --- > recipes/expat/expat.inc | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/recipes/expat/expat.inc b/recipes/expat/expat.inc > index 8ea1118..a25f7b4 100644 > --- a/recipes/expat/expat.inc > +++ b/recipes/expat/expat.inc > @@ -13,6 +13,13 @@ export LTCC = "${CC}" > > RDEPENDS_${PN} = "libexpat" > > +INSTALL_CLEANFUNCS = "" > +INSTALL_CLEANUP_FUNCS:TARGET_OS_mingw32 = "do_install_fix_dll" > +do_install[postfuncs] += "${INSTALL_CLEANUP_FUNCS}" > +do_install_fix_dll () { > + mv ${D}${prefix}${bindir}/*.dll ${D}${libdir}/ > +} > + > inherit auto-package-libs > AUTO_PACKAGE_LIBS = "expat" > FILES_${PN}-libexpat-dev += "${includedir}" Hi, mingw packaging should be fixed on master with the following two commits: * 19808ae expat: Fixup libtool handling to fix mingw32 builds * 8cae324 expat: Cleanup mingw32 packaging Let me know if you still have problems. /Esben
diff --git a/recipes/expat/expat.inc b/recipes/expat/expat.inc index 8ea1118..a25f7b4 100644 --- a/recipes/expat/expat.inc +++ b/recipes/expat/expat.inc @@ -13,6 +13,13 @@ export LTCC = "${CC}" RDEPENDS_${PN} = "libexpat" +INSTALL_CLEANFUNCS = "" +INSTALL_CLEANUP_FUNCS:TARGET_OS_mingw32 = "do_install_fix_dll" +do_install[postfuncs] += "${INSTALL_CLEANUP_FUNCS}" +do_install_fix_dll () { + mv ${D}${prefix}${bindir}/*.dll ${D}${libdir}/ +} + inherit auto-package-libs AUTO_PACKAGE_LIBS = "expat" FILES_${PN}-libexpat-dev += "${includedir}"
From: Christian Sørensen <christian.braunersorensen@prevas.dk> --- recipes/expat/expat.inc | 7 +++++++ 1 file changed, 7 insertions(+)