aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-10-15 13:11:39 +0300
committerEfraim Flashner <efraim@flashner.co.il>2023-10-15 13:11:39 +0300
commit302b14fb193ff8079251548682195289615f80d6 (patch)
treeba13195e6ff6c31f6ccb46960c851067c1816267 /gnu
parentf668e5c8d2f2355451522c6a54ba78841d35b004 (diff)
downloadguix-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.scm7
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