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

commit cb9711806fb671d0e7e85507bc4f086e9c6ade71
Author: Efraim Flashner <[email protected]>
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