Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/json-glib: set -Dintrospection=false
@ 2019-07-15 17:18 Alex Xu
  2019-07-17  5:30 ` Thomas Petazzoni
  2019-08-04 20:11 ` Peter Korsgaard
  0 siblings, 2 replies; 3+ messages in thread
From: Alex Xu @ 2019-07-15 17:18 UTC (permalink / raw)
  To: buildroot

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

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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH] package/json-glib: set -Dintrospection=false
  2019-07-15 17:18 [Buildroot] [PATCH] package/json-glib: set -Dintrospection=false Alex Xu
@ 2019-07-17  5:30 ` Thomas Petazzoni
  2019-08-04 20:11 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2019-07-17  5:30 UTC (permalink / raw)
  To: buildroot

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
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH] package/json-glib: set -Dintrospection=false
  2019-07-15 17:18 [Buildroot] [PATCH] package/json-glib: set -Dintrospection=false Alex Xu
  2019-07-17  5:30 ` Thomas Petazzoni
@ 2019-08-04 20:11 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2019-08-04 20:11 UTC (permalink / raw)
  To: buildroot

>>>>> "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.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-08-04 20:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-07-15 17:18 [Buildroot] [PATCH] package/json-glib: set -Dintrospection=false Alex Xu
2019-07-17  5:30 ` Thomas Petazzoni
2019-08-04 20:11 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox