diff options
-rw-r--r-- | meta/recipes-core/glib-2.0/glib-2.0/glib-meson.cross | 6 | ||||
-rw-r--r-- | meta/recipes-core/glib-2.0/glib-2.0_2.58.3.bb | 1 | ||||
-rw-r--r-- | meta/recipes-core/glib-2.0/glib.inc | 1 |
3 files changed, 8 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 new file mode 100644 index 0000000000..8420f9874e --- /dev/null +++ b/meta/recipes-core/glib-2.0/glib-2.0/glib-meson.cross | |||
@@ -0,0 +1,6 @@ | |||
1 | [properties] | ||
2 | have_c99_vsnprintf = true | ||
3 | have_c99_snprintf = true | ||
4 | have_unix98_printf = true | ||
5 | va_val_copy = true | ||
6 | growing_stack = false | ||
diff --git a/meta/recipes-core/glib-2.0/glib-2.0_2.58.3.bb b/meta/recipes-core/glib-2.0/glib-2.0_2.58.3.bb index 2de2affa51..c872c74920 100644 --- a/meta/recipes-core/glib-2.0/glib-2.0_2.58.3.bb +++ b/meta/recipes-core/glib-2.0/glib-2.0_2.58.3.bb | |||
@@ -16,6 +16,7 @@ SRC_URI = "${GNOME_MIRROR}/glib/${SHRT_VER}/glib-${PV}.tar.xz \ | |||
16 | file://0001-Set-host_machine-correctly-when-building-with-mingw3.patch \ | 16 | file://0001-Set-host_machine-correctly-when-building-with-mingw3.patch \ |
17 | file://0001-Do-not-write-bindir-into-pkg-config-files.patch \ | 17 | file://0001-Do-not-write-bindir-into-pkg-config-files.patch \ |
18 | file://0001-meson.build-do-not-hardcode-linux-as-the-host-system.patch \ | 18 | file://0001-meson.build-do-not-hardcode-linux-as-the-host-system.patch \ |
19 | file://glib-meson.cross \ | ||
19 | " | 20 | " |
20 | 21 | ||
21 | SRC_URI_append_class-native = " file://relocate-modules.patch" | 22 | SRC_URI_append_class-native = " file://relocate-modules.patch" |
diff --git a/meta/recipes-core/glib-2.0/glib.inc b/meta/recipes-core/glib-2.0/glib.inc index 6f0ec1ad2e..574bb38557 100644 --- a/meta/recipes-core/glib-2.0/glib.inc +++ b/meta/recipes-core/glib-2.0/glib.inc | |||
@@ -53,6 +53,7 @@ PACKAGECONFIG[libelf] = ",,elfutils" | |||
53 | PACKAGECONFIG[tests] = "-Dinstalled_tests=true,-Dinstalled_tests=false,dbus" | 53 | PACKAGECONFIG[tests] = "-Dinstalled_tests=true,-Dinstalled_tests=false,dbus" |
54 | 54 | ||
55 | EXTRA_OEMESON = "-Ddtrace=false -Dfam=false -Dsystemtap=false -Dselinux=false" | 55 | EXTRA_OEMESON = "-Ddtrace=false -Dfam=false -Dsystemtap=false -Dselinux=false" |
56 | EXTRA_OEMESON_append_class-target = " --cross-file ${WORKDIR}/glib-meson.cross" | ||
56 | 57 | ||
57 | do_configure_prepend() { | 58 | do_configure_prepend() { |
58 | sed -i -e '1s,#!.*,#!${USRBINPATH}/env python3,' ${S}/gio/gdbus-2.0/codegen/gdbus-codegen.in | 59 | sed -i -e '1s,#!.*,#!${USRBINPATH}/env python3,' ${S}/gio/gdbus-2.0/codegen/gdbus-codegen.in |