summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/glib-2.0/glib-2.0
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2019-06-18 16:12:29 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-06-19 22:13:40 +0100
commit7c9ec5a2c1993c1ac95a77eb7ea62db6cb2010f5 (patch)
tree1ebcba230a0c4fd7e729fb2a4acd07e620d322d0 /meta/recipes-core/glib-2.0/glib-2.0
parent120e9ca1becfe09505da0e90ff8c8863d004f2d2 (diff)
downloadpoky-7c9ec5a2c1993c1ac95a77eb7ea62db6cb2010f5.tar.gz
glib-2.0: fix host path appearing in gsocketclient-slow test script
Glib's build looks for the 'env' binary and embeds that path into the test script, but thanks to hosttools this is /path/to/tmpdir/hosttools/env. Fix this by hardcoding the path to env in the cross file. Also as the cross file is only used in target builds only add it to SRC_URI for target builds, so that changes to the cross file don't cause a rebuild of glib-2.0-native. (From OE-Core rev: 05c9fb5a026e3006a1fc037f957cb4341fb55030) 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.cross3
1 files changed, 3 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 8420f9874e..b5df400727 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,3 +4,6 @@ have_c99_snprintf = true
4have_unix98_printf = true 4have_unix98_printf = true
5va_val_copy = true 5va_val_copy = true
6growing_stack = false 6growing_stack = false
7
8[binaries]
9env = "/usr/bin/env"