aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-10-15 13:10:50 +0300
committerEfraim Flashner <efraim@flashner.co.il>2023-10-15 13:10:50 +0300
commitf668e5c8d2f2355451522c6a54ba78841d35b004 (patch)
tree45137dc64388a0dfb895d26f737c1a97f825f7e8
parentbc1634a197dc9ab7aa0dead8c7449bb5db09cea6 (diff)
downloadguix-f668e5c8d2f2355451522c6a54ba78841d35b004.tar.gz
guix-f668e5c8d2f2355451522c6a54ba78841d35b004.zip
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.
-rw-r--r--gnu/packages/xorg.scm7
1 files changed, 5 insertions, 2 deletions
diff --git a/gnu/packages/xorg.scm b/gnu/packages/xorg.scm
index ffd8939a8d..bf1ec48e55 100644
--- a/gnu/packages/xorg.scm
+++ b/gnu/packages/xorg.scm
@@ -5243,8 +5243,11 @@ application-facing EGL functions.")
(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