aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-10-15 13:12:16 +0300
committerEfraim Flashner <efraim@flashner.co.il>2023-10-15 13:12:16 +0300
commite1600546b93bbc2d545730f02e071d35037a1d1a (patch)
tree380f8e2966749bb32befad6daffcbc81980ac0b6
parent302b14fb193ff8079251548682195289615f80d6 (diff)
downloadguix-e1600546b93bbc2d545730f02e071d35037a1d1a.tar.gz
guix-e1600546b93bbc2d545730f02e071d35037a1d1a.zip
gnu: xcb-util-errors: Fix cross-compiling.
* gnu/packages/xorg.scm (xcb-util-errors)[native-inputs]: When cross-compiling add libxcb.
-rw-r--r--gnu/packages/xorg.scm5
1 files changed, 4 insertions, 1 deletions
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