guix-commits
[Top][All Lists]
Advanced

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

52/52: gnu: at-spi2-atk: Don't compile tests when cross-compiling.


From: guix-commits
Subject: 52/52: gnu: at-spi2-atk: Don't compile tests when cross-compiling.
Date: Mon, 20 Sep 2021 07:19:42 -0400 (EDT)

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

commit aacaa222d1646a99343d8f59b2e87f34e27b75ae
Author: Maxime Devos <maximedevos@telenet.be>
AuthorDate: Wed Aug 25 16:08:23 2021 +0200

    gnu: at-spi2-atk: Don't compile tests when cross-compiling.
    
    * gnu/packages/gtk.scm
      (at-spi2-atk)[arguments]<#:configure-flags>: Set tests=false when
      cross-compiling.
---
 gnu/packages/gtk.scm | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index 95631c6..9868b11 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -856,6 +856,10 @@ is part of the GNOME accessibility project.")
     (build-system meson-build-system)
     (arguments
      `(#:glib-or-gtk? #t     ; To wrap binaries and/or compile schemas
+       ;; Compiling tests requires "libxml2" to be in 'inputs'.
+       ,@(if (%current-target-system)
+             `(#:configure-flags '("-Dtests=false"))
+             '())
        #:phases
        (modify-phases %standard-phases
          (replace 'check



reply via email to

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