guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

19/52: gnu: graphene: Don't build introspection data when cross-compilin


From: guix-commits
Subject: 19/52: gnu: graphene: Don't build introspection data when cross-compiling.
Date: Mon, 20 Sep 2021 07:19:31 -0400 (EDT)

mothacehe pushed a commit to branch core-updates-frozen
in repository guix.

commit 9e6b25505ac07ffbf5ce16e4e08ae3dd626587b8
Author: Maxime Devos <maximedevos@telenet.be>
AuthorDate: Tue Aug 24 14:38:57 2021 +0200

    gnu: graphene: Don't build introspection data when cross-compiling.
    
    * gnu/packages/gtk.scm (graphene)[arguments]<#:configure-flags>: Set
      introspection=false when cross-compiling.
---
 gnu/packages/gtk.scm | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index d97a42f..8a0c7c5 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -2291,7 +2291,11 @@ Parcellite and adds bugfixes and features.")
      `(#:glib-or-gtk? #t     ; To wrap binaries and/or compile schemas
        #:configure-flags
        (list
-        "-Dinstalled_tests=false")))
+        "-Dinstalled_tests=false"
+        ,@(if (%current-target-system)
+              ;; Introspection requires running binaries for 'host' on 'build'.
+              '("-Dintrospection=false")
+              '()))))
     (native-inputs
      `(("git" ,git-minimal)
        ("gobject-introspection" ,gobject-introspection)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]