summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/glib-2.0/glib-2.0
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2020-01-06 12:47:26 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-01-06 23:53:55 +0000
commitc308116fb7787794512c3153503ddf9da71803a8 (patch)
treeff2843e882eb129ebdc2ff94382ea224b28890a9 /meta/recipes-core/glib-2.0/glib-2.0
parentb2a389ad5111d587db3f95c6ce13fc2eafc22f27 (diff)
downloadopenembedded-core-c308116fb7787794512c3153503ddf9da71803a8.tar.gz
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>
Diffstat (limited to 'meta/recipes-core/glib-2.0/glib-2.0')
-rw-r--r--meta/recipes-core/glib-2.0/glib-2.0/glib-meson.cross1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-core/glib-2.0/glib-2.0/glib-meson.cross b/meta/recipes-core/glib-2.0/glib-2.0/glib-meson.cross
index b5df400727..5246c77601 100644
--- a/meta/recipes-core/glib-2.0/glib-2.0/glib-meson.cross
+++ b/meta/recipes-core/glib-2.0/glib-2.0/glib-meson.cross
@@ -4,6 +4,7 @@ have_c99_snprintf = true
have_unix98_printf = true
va_val_copy = true
growing_stack = false
+have_proc_self_cmdline = true
[binaries]
env = "/usr/bin/env"