On Sat, Jul 18, 2020 at 11:03 AM Oleksandr Popovych <[email protected]> wrote: > > GNU Autotools build system is considered in upstream as potentially > deprecated (https://github.com/libexpat/libexpat/issues/330), and > expat library will be switched to use CMake. > > So this patch depends on "expat: Added ptest" patch for 'meta' layer, > and fixes CMake toolchain file to work correctly with 'meta-mingw' > layer. > --- > recipes-core/expat/expat_%.bbappend | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/recipes-core/expat/expat_%.bbappend > b/recipes-core/expat/expat_%.bbappend > index 626ea5b..0fe3aa0 100644 > --- a/recipes-core/expat/expat_%.bbappend > +++ b/recipes-core/expat/expat_%.bbappend > @@ -1,3 +1,9 @@ > > FILES_${PN}-bin_mingw32 = "${bindir}/*.exe ${sbindir}/*.exe" > > +cmake_do_generate_toolchain_file_append_mingw32() { > + cat >> ${WORKDIR}/toolchain.cmake <<EOF > +set( CMAKE_SYSTEM_NAME Windows ) > +EOF > +} > +
Hmm, this seems like the kind of thing that should be set for all mingw32 builds.... > -- > 2.17.1 >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#50015): https://lists.yoctoproject.org/g/yocto/message/50015 Mute This Topic: https://lists.yoctoproject.org/mt/75687157/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
