From f668e5c8d2f2355451522c6a54ba78841d35b004 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sun, 15 Oct 2023 13:10:50 +0300 Subject: 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. --- gnu/packages/xorg.scm | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'gnu/packages/xorg.scm') 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 @@ (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 -- cgit v1.2.3