summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorMarius Bakke <marius@gnu.org>2022-11-27 14:09:11 +0100
committerMarius Bakke <marius@gnu.org>2022-11-27 21:19:50 +0100
commit98de78523be8009a13a67f65e4dc3cb5e22a5cea (patch)
tree3e6940fbc309230da08252e0d1a9408269033f5c /gnu/packages
parent8c9656bc2f697f09cc9583537108efd9313362e7 (diff)
gnu: libxkbcommon: Fix cross-compilation.
* gnu/packages/xdisorg.scm (libxkbcommon)[native-inputs]: When cross-compiling, add PKG-CONFIG-FOR-BUILD and WAYLAND.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/xdisorg.scm7
1 files changed, 6 insertions, 1 deletions
diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm
index 1a4d805f19..9cc7cc652a 100644
--- a/gnu/packages/xdisorg.scm
+++ b/gnu/packages/xdisorg.scm
@@ -516,7 +516,12 @@ avoiding password prompts when X11 forwarding has already been setup.")
wayland-protocols
xkeyboard-config))
(native-inputs
- (list bison doxygen pkg-config python))
+ (append (list bison doxygen pkg-config python)
+ (if (%current-target-system)
+ ;; wayland-scanner is required at build time.
+ ;; TODO: Remove this conditional on core-updates.
+ (list pkg-config-for-build wayland)
+ '())))
(arguments
`(#:configure-flags
(list (string-append "-Dxkb-config-root="