aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/freedesktop.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/freedesktop.scm')
-rw-r--r--gnu/packages/freedesktop.scm7
1 files changed, 5 insertions, 2 deletions
diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm
index a902fac153..d9f48b791a 100644
--- a/gnu/packages/freedesktop.scm
+++ b/gnu/packages/freedesktop.scm
@@ -1074,8 +1074,11 @@ fullscreen) or other display servers.")
(build-system meson-build-system)
(inputs
(list wayland))
- (native-inputs
- (list pkg-config python))
+ (native-inputs (cons* pkg-config python
+ (if (%current-target-system)
+ (list pkg-config-for-build
+ wayland) ; for wayland-scanner
+ '())))
(synopsis "Wayland protocols")
(description "Wayland-Protocols contains Wayland protocols that add
functionality not available in the Wayland core protocol. Such protocols either