diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-10-15 13:12:16 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-10-15 13:12:16 +0300 |
commit | e1600546b93bbc2d545730f02e071d35037a1d1a (patch) | |
tree | 380f8e2966749bb32befad6daffcbc81980ac0b6 /gnu/packages/xorg.scm | |
parent | 302b14fb193ff8079251548682195289615f80d6 (diff) | |
download | guix-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.
Diffstat (limited to 'gnu/packages/xorg.scm')
-rw-r--r-- | gnu/packages/xorg.scm | 5 |
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 |