]> code.ossystems Code Review - openembedded-core.git/commit
glib-2.0/glib.inc: fix broken mingw build
authorJuro Bystricky <juro.bystricky@intel.com>
Thu, 19 Apr 2018 16:53:02 +0000 (09:53 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 20 Apr 2018 07:19:36 +0000 (08:19 +0100)
commit1f53140528d79c38d4f3a82cd0a03bd0ddc87275
treecd54622a6f93969f080b12c8de6d81583adc5019
parenta4941af2d3624aecc5dcd7ff54b7ea8c9e9dee8b
glib-2.0/glib.inc: fix broken mingw build

mingw build was broken by the commit:
"glib-2.0/glib.inc: apply MLPREFIX renaming to all package classes"

When building for mingw, we encounter build errors such as:

  mv: cannot stat '<builddir>/<...>/usr/libexec/gio-querymodules': No such file or directory

The mingw file that exists is "gio-querymodules.exe" instead of "gio-qeurymodules".
The fix is to append the names of executables by an OS specific EXEEXT.

[YOCTO #12679]

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/glib-2.0/glib.inc