guix-commits
[Top][All Lists]
Advanced

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

12/13: gnu: xcb-util-errors: Fix cross-compiling.


From: guix-commits
Subject: 12/13: gnu: xcb-util-errors: Fix cross-compiling.
Date: Mon, 16 Oct 2023 05:39:59 -0400 (EDT)

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

commit cb9711806fb671d0e7e85507bc4f086e9c6ade71
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Oct 15 13:12:16 2023 +0300

    gnu: xcb-util-errors: Fix cross-compiling.
    
    * gnu/packages/xorg.scm (xcb-util-errors)[native-inputs]: When
    cross-compiling add libxcb.
---
 gnu/packages/xorg.scm | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/xorg.scm b/gnu/packages/xorg.scm
index 43f7fbe8fa..e13c263b01 100644
--- a/gnu/packages/xorg.scm
+++ b/gnu/packages/xorg.scm
@@ -5592,7 +5592,10 @@ The XCB util module provides the following libraries:
         ("automake" ,automake)
         ("libtool" ,libtool)
         ("python" ,python-wrapper)
-        ("pkg-config" ,pkg-config)))
+        ("pkg-config" ,pkg-config)
+        ,@(if (%current-target-system)
+            `(("libxcb" ,libxcb))
+            `())))
      (arguments
       `(#:phases
         (modify-phases %standard-phases



reply via email to

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