gnu: egl-wayland: Fix cross-compiling.

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

View file

@ -5243,8 +5243,11 @@ (define-public egl-wayland
(base32 "11a3j2rjai2vsway9ki5y3ncvhrwd300pz2zcq36mq3brbr1vgf5"))))
(build-system meson-build-system)
(native-inputs
(list libglvnd ;needed for headers
mesa-headers pkg-config))
(cons* libglvnd ;needed for headers
mesa-headers pkg-config
(if (%current-target-system)
(list pkg-config-for-build wayland wayland-protocols)
'())))
(inputs
(list mesa wayland wayland-protocols))
(propagated-inputs