about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/wayland/fix-wayland-cross-compilation.patch
blob: 77639acb653010851908d3b9c156fc93ee17a744 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/src/meson.build b/src/meson.build
index 3e8c9bf..75241cb 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -55,8 +55,7 @@ pkgconfig.generate(
 )
 
 if meson.is_cross_build()
-	scanner_dep = dependency('wayland-scanner', native: true, version: '>=1.14.0')
-	wayland_scanner_for_build = find_program(scanner_dep.get_pkgconfig_variable('wayland_scanner'))
+	wayland_scanner_for_build = find_program('wayland-scanner', native: true, version: '>=1.14.0')
 else
 	wayland_scanner_for_build = wayland_scanner
 endif