Skip to contentSkip to conversation

glib: set missing cross property

PATCH New Ross Burton 1 participant 1 message Jan 6, 2020 Arm/Amlogic Meson SoC support

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 meta/recipes-core/glib-2.0/glib-2.0/glib-meson.cross | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-core/glib-2.0/glib-2.0/glib-meson.cross +1 -0
index b5df4007275..5246c776014 100644
@@ -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"
Signature · 1 line
2.20.1