From e1600546b93bbc2d545730f02e071d35037a1d1a Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sun, 15 Oct 2023 13:12:16 +0300 Subject: 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 98a8ccc7a4..66ba88f773 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 -- cgit v1.2.3