From 1bd0dcf228b01caf552a06acc75a1ec212a05d6c Mon Sep 17 00:00:00 2001 From: Maxime Devos Date: Wed, 25 Aug 2021 11:01:15 +0200 Subject: gnu: json-glib: Don't build introspection data when cross-compiling. * gnu/packages/gnome.scm (json-glib)[arguments]<#:configure-flags>: Set introspection=false when cross-compiling. --- gnu/packages/gnome.scm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'gnu/packages/gnome.scm') diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 989d5e75eb..497713cddc 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -4599,7 +4599,10 @@ configuration storage systems.") ,@(if (%current-target-system) ;; If enabled, gtkdoc-scangobj will try to execute a ;; cross-compiled binary. - '("-Dgtk_doc=disabled") + '("-Dgtk_doc=disabled" + ;; Trying to build introspection data when cross-compiling + ;; causes errors during linking. + "-Dintrospection=disabled") '())) #:phases (modify-phases %standard-phases -- cgit v1.2.3