gnu: xorg-server-xwayland: Fix cross-compiling.

* gnu/packages/xorg.scm (xorg-server-xwayland)[native-inputs]: When
cross-compiling add pkg-config-for-build, wayland, wayland-protocols.
This commit is contained in:
Efraim Flashner 2023-10-15 13:11:39 +03:00
parent f668e5c8d2
commit 302b14fb19
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -5289,7 +5289,12 @@ (define-public xorg-server-xwayland
xkeyboard-config
xorgproto
xtrans))
(native-inputs (list pkg-config))
(native-inputs (cons pkg-config
(if (%current-target-system)
(list pkg-config-for-build
wayland
wayland-protocols)
'())))
(build-system meson-build-system)
(arguments
`(#:configure-flags