Message ID | 20190715171801.409911-1-alex_y_xu@yahoo.ca |
---|---|
State | Accepted |
Headers | show |
Series | package/json-glib: set -Dintrospection=false | expand |
On Mon, 15 Jul 2019 13:18:01 -0400 "Alex Xu (Hello71)" <alex_y_xu@yahoo.ca> wrote: > when it is true, the meson script auto-detects the host g-ir-scanner, > which is not usable in a cross-compile environment. > > Signed-off-by: Alex Xu (Hello71) <alex_y_xu@yahoo.ca> > --- > package/json-glib/json-glib.mk | 2 ++ > 1 file changed, 2 insertions(+) Applied to master, thanks. Thomas
>>>>> "Alex" == Alex Xu (Hello71) <alex_y_xu@yahoo.ca> writes: > when it is true, the meson script auto-detects the host g-ir-scanner, > which is not usable in a cross-compile environment. > Signed-off-by: Alex Xu (Hello71) <alex_y_xu@yahoo.ca> Committed to 2019.02.x and 2019.05.x, thanks.
diff --git a/package/json-glib/json-glib.mk b/package/json-glib/json-glib.mk index 0879c772b5..7405b28b2e 100644 --- a/package/json-glib/json-glib.mk +++ b/package/json-glib/json-glib.mk @@ -17,6 +17,8 @@ JSON_GLIB_DEPENDENCIES = \ host-pkgconf \ libglib2 +JSON_GLIB_CONF_OPTS = -Dintrospection=false + JSON_GLIB_LDFLAGS = $(TARGET_LDFLAGS) $(TARGET_NLS_LIBS) $(eval $(meson-package))
when it is true, the meson script auto-detects the host g-ir-scanner, which is not usable in a cross-compile environment. Signed-off-by: Alex Xu (Hello71) <alex_y_xu@yahoo.ca> --- package/json-glib/json-glib.mk | 2 ++ 1 file changed, 2 insertions(+)