package/json-glib: set -Dintrospection=false
diff mbox series

Message ID 20190715171801.409911-1-alex_y_xu@yahoo.ca
State Accepted
Headers show
Series
  • package/json-glib: set -Dintrospection=false
Related show

Commit Message

Alex Xu (Hello71) July 15, 2019, 5:18 p.m. UTC
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(+)

Comments

Thomas Petazzoni July 17, 2019, 5:30 a.m. UTC | #1
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
Peter Korsgaard Aug. 4, 2019, 8:11 p.m. UTC | #2
>>>>> "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.

Patch
diff mbox series

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))