[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/06: gnu: gusb: Don't build introspection data when cross-compiling.
From: |
guix-commits |
Subject: |
06/06: gnu: gusb: Don't build introspection data when cross-compiling. |
Date: |
Mon, 27 Sep 2021 14:37:39 -0400 (EDT) |
mothacehe pushed a commit to branch core-updates-frozen
in repository guix.
commit 02c43445544426aa4eebfd08289161509bc21460
Author: Maxime Devos <maximedevos@telenet.be>
AuthorDate: Thu Sep 23 23:50:28 2021 +0200
gnu: gusb: Don't build introspection data when cross-compiling.
This fixes a configure error when cross-compiling and doesn't
cause any rebuilds.
* gnu/packages/gnome.scm (gusb)[arguments]<#:configure-flags>:
Set 'introspection' and 'vapi' to false.
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
---
gnu/packages/gnome.scm | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 497713c..47eb552 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -6573,7 +6573,14 @@ DAV, and others.")
`(("glib" ,glib)
("libusb" ,libusb)))
(arguments
- `(#:tests? #f)) ;libusb fails to initialize. Wonder what that is.
+ `(#:tests? #f ;libusb fails to initialize. Wonder what that is.
+ #:configure-flags
+ ,(if (%current-target-system)
+ ;; Introspection data cannot currently be cross-compiled.
+ ''("-Dintrospection=false"
+ ;; Requires introspection data.
+ "-Dvapi=false")
+ ''())))
(home-page "https://github.com/hughsie/libgusb")
(synopsis "GLib binding for libusb1")
(description
- branch core-updates-frozen updated (7c5f01d -> 02c4344), guix-commits, 2021/09/27
- 03/06: gnu: xev: Pass --disable-malloc0returnsnull when cross-compiling., guix-commits, 2021/09/27
- 04/06: gnu: libxv: Pass --disable-malloc0returnsnull when cross-compiling., guix-commits, 2021/09/27
- 02/06: gnu: llvm: Let it cross-compile., guix-commits, 2021/09/27
- 01/06: gnu: pkg-config: Fix typo in search paths., guix-commits, 2021/09/27
- 05/06: gnu: libxvmc: Pass --disable-malloc0returnsnull when cross-compiling., guix-commits, 2021/09/27
- 06/06: gnu: gusb: Don't build introspection data when cross-compiling.,
guix-commits <=