]> code.ossystems Code Review - openembedded-core.git/commit
glib: set missing cross property
authorRoss Burton <ross.burton@intel.com>
Mon, 6 Jan 2020 12:47:26 +0000 (12:47 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 6 Jan 2020 23:53:55 +0000 (23:53 +0000)
commitc308116fb7787794512c3153503ddf9da71803a8
treeff2843e882eb129ebdc2ff94382ea224b28890a9
parentb2a389ad5111d587db3f95c6ce13fc2eafc22f27
glib: set missing cross property

GLib 2.60 onwards checks for /proc/self/cmdline instead of assuming that
it exists on Linux (because Cygwin also has it).  As this is a runtime
test it doesn't execute in cross builds so defaults to false, but under
Linux this should be true.

Restore the previous behaviour and silence the warning by setting the
cross property appropriately.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/glib-2.0/glib-2.0/glib-meson.cross