diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-10-15 13:11:39 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-10-15 13:11:39 +0300 |
commit | 302b14fb193ff8079251548682195289615f80d6 (patch) | |
tree | ba13195e6ff6c31f6ccb46960c851067c1816267 /gnu | |
parent | f668e5c8d2f2355451522c6a54ba78841d35b004 (diff) | |
download | guix-302b14fb193ff8079251548682195289615f80d6.tar.gz guix-302b14fb193ff8079251548682195289615f80d6.zip |
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.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/xorg.scm | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gnu/packages/xorg.scm b/gnu/packages/xorg.scm index bf1ec48e55..98a8ccc7a4 100644 --- a/gnu/packages/xorg.scm +++ b/gnu/packages/xorg.scm @@ -5289,7 +5289,12 @@ EGLStream families of extensions.") 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 |