[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/52: gnu: dbus-glib: Support cross-compilation.
From: |
guix-commits |
Subject: |
01/52: gnu: dbus-glib: Support cross-compilation. |
Date: |
Mon, 20 Sep 2021 07:19:26 -0400 (EDT) |
mothacehe pushed a commit to branch core-updates-frozen
in repository guix.
commit 967f8af877b5e428d839190744b765b0d10a96b8
Author: Maxime Devos <maximedevos@telenet.be>
AuthorDate: Tue Aug 24 09:21:09 2021 +0200
gnu: dbus-glib: Support cross-compilation.
This allows cross-compilation to succeed when not using
QEMU's transparent emulation, and the cross-compilation
is not a pointless cross-compilation like x86_64 -> i686.
* gnu/packages/glib.scm (dbus-glib)[arguments]: Set --with-dbus-binding-tool
to a native version of "dbus-binding-tool" when cross-compiling.
---
gnu/packages/glib.scm | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm
index c05a57d..cf54b31 100644
--- a/gnu/packages/glib.scm
+++ b/gnu/packages/glib.scm
@@ -562,6 +562,16 @@ translated.")
(base32
"09g8swvc95bk1z6j8sw463p2v0dqmgm2zjfndf7i8sbcyq67dr3w"))))
(build-system gnu-build-system)
+ (arguments
+ (if (%current-target-system)
+ `(#:configure-flags
+ ;; Run a native 'dbus-binding-tool' instead of a cross-compiled
+ ;; 'dbus-binding-tool' when cross-compiling.
+ ,#~(list
+ (string-append
+ "--with-dbus-binding-tool="
+ #+(file-append this-package "/bin/dbus-binding-tool"))))
+ '()))
(propagated-inputs ; according to dbus-glib-1.pc
`(("dbus" ,dbus)
("glib" ,glib)))
- branch core-updates-frozen updated (4bacf9c -> aacaa22), guix-commits, 2021/09/20
- 02/52: gnu: elogind: Make #:configure-flags a G-exp., guix-commits, 2021/09/20
- 01/52: gnu: dbus-glib: Support cross-compilation.,
guix-commits <=
- 07/52: gnu: nspr: Don't retain references to native inputs., guix-commits, 2021/09/20
- 11/52: build-system/glib-or-gtk: Support cross-compilaton., guix-commits, 2021/09/20
- 23/52: gnu: heimdal: Fix inputs when cross-compiling., guix-commits, 2021/09/20
- 24/52: gnu: heimdal: Fix linking error when cross-compiling., guix-commits, 2021/09/20
- 12/52: gnu: dbus-cairo: Add missing bash-minimal input., guix-commits, 2021/09/20
- 18/52: gnu: bdb: Fix cross-compilation build errors., guix-commits, 2021/09/20
- 06/52: gnu: nspr: Adjust to Mozilla cross-compilation conventions., guix-commits, 2021/09/20
- 13/52: gnu: polkit: Prevent cross-compilation build error., guix-commits, 2021/09/20
- 17/52: gnu: atk: Disable introspection when cross-compiling., guix-commits, 2021/09/20
- 16/52: gobject-introspection: Correct library name when cross-compiling., guix-commits, 2021/09/20