mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-25 20:19:18 -05:00
gnu: libxkbcommon: Fix cross-compilation.
* gnu/packages/xdisorg.scm (libxkbcommon)[native-inputs]: When cross-compiling, add PKG-CONFIG-FOR-BUILD and WAYLAND.
This commit is contained in:
parent
8c9656bc2f
commit
98de78523b
1 changed files with 6 additions and 1 deletions
|
@ -516,7 +516,12 @@ (define-public libxkbcommon
|
|||
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="
|
||||
|
|
Loading…
Reference in a new issue