me
/
guix
Archived
1
0
Fork 0

gnu: libxkbcommon: Fix cross-compilation.

* gnu/packages/xdisorg.scm (libxkbcommon)[native-inputs]: When
cross-compiling, add PKG-CONFIG-FOR-BUILD and WAYLAND.
master
Marius Bakke 2022-11-27 14:09:11 +01:00
parent 8c9656bc2f
commit 98de78523b
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 6 additions and 1 deletions

View File

@ -516,7 +516,12 @@ avoiding password prompts when X11 forwarding has already been setup.")
wayland-protocols wayland-protocols
xkeyboard-config)) xkeyboard-config))
(native-inputs (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 (arguments
`(#:configure-flags `(#:configure-flags
(list (string-append "-Dxkb-config-root=" (list (string-append "-Dxkb-config-root="