gnu: libxkbcommon: Fix cross-compilation.
* gnu/packages/xdisorg.scm (libxkbcommon)[native-inputs]: When cross-compiling, add PKG-CONFIG-FOR-BUILD and WAYLAND.master
parent
8c9656bc2f
commit
98de78523b
|
@ -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="
|
||||||
|
|
Reference in New Issue