Skip to contentSkip to conversation

package/json-glib: set -Dintrospection=false

PATCH New Alex Xu (Hello71) 3 participants 3 messages Jul 15, 2019 – Aug 4, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/json-glib: set -Dintrospection=false

when it is true, the meson script auto-detects the host g-ir-scanner, which is not usable in a cross-compile environment.

---
 package/json-glib/json-glib.mk | 2 ++
 1 file changed, 2 insertions(+)
package/json-glib/json-glib.mk +2 -0
index 0879c772b5..7405b28b2e 100644
@@ -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))
Signature · 1 line
2.22.0
#1 lore raw

PATCH 1/1 package/json-glib: set -Dintrospection=false

Quoted 7 lines · On Mon, 15 Jul 2019 13:18:01 -0400 "Alex Xu (Hello71)" <[email protected]>…

when it is true, the meson script auto-detects the host g-ir-scanner, which is not usable in a cross-compile environment.

---
 package/json-glib/json-glib.mk | 2 ++
 1 file changed, 2 insertions(+)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#2 lore raw

PATCH 1/1 package/json-glib: set -Dintrospection=false

In reply to Alex Xu (Hello71)
Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Alex" == Alex Xu (Hello71) <[email protected]> writes:

when it is true, the meson script auto-detects the host g-ir-scanner, which is not usable in a cross-compile environment.

Committed to 2019.02.x and 2019.05.x, thanks.

Signature · 1 line
Bye, Peter Korsgaard