diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-10-15 13:10:50 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-10-15 13:10:50 +0300 |
commit | f668e5c8d2f2355451522c6a54ba78841d35b004 (patch) | |
tree | 45137dc64388a0dfb895d26f737c1a97f825f7e8 /gnu/packages/xorg.scm | |
parent | bc1634a197dc9ab7aa0dead8c7449bb5db09cea6 (diff) | |
download | guix-f668e5c8d2f2355451522c6a54ba78841d35b004.tar.gz |
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.
Diffstat (limited to 'gnu/packages/xorg.scm')
-rw-r--r-- | gnu/packages/xorg.scm | 7 |
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 |