]> code.ossystems Code Review - openembedded-core.git/commit
core: glib-2.0: fix requested libmount/mkostemp/selinux not being linked in
authorAhmad Fatoum <a.fatoum@pengutronix.de>
Mon, 20 Jul 2020 10:30:11 +0000 (12:30 +0200)
committerAnuj Mittal <anuj.mittal@intel.com>
Tue, 28 Jul 2020 08:15:51 +0000 (16:15 +0800)
commit2adcc5ade62fe10715a6c943565f71efe7627229
treebd617ac74db347fb20780475d119ffb1675e74fb
parent9059f720f00f7b8dfac89d842ad19876eae201d5
core: glib-2.0: fix requested libmount/mkostemp/selinux not being linked in

Since 010202076760 ("meson.bbclass: avoid unexpected operating-system
names"), meson is no longer used with a cross file that appends the used
libc to the operating system name, e.g. linux-gnueabi.

Prior to that commit, the host_system == 'linux' checks in glib's meson
failed, which led to glib being compiled without libmount, mkostemp and
selinux even if explicitly requested.

As the aforementioned commit affects all recipes built by glib, it might
not be a candidate for backporting to current stable branches. To fix
just the glib issue, instances of host_system == 'linux' are patched
locally.

The patch is marked as Upstream-Status: Inappropriate as it is rendered
unnecessary for OE releases newer than Dunfell.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
meta/recipes-core/glib-2.0/glib-2.0/0020-meson.build-do-not-hardcode-linux-as-the-host-system.patch [new file with mode: 0644]
meta/recipes-core/glib-2.0/glib-2.0_2.60.7.bb