0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-01-19 16:52:16 +00:00
termux-packages/packages/libwayland/wayland-scanner-for-build.patch
2023-03-01 08:11:40 +08:00

13 lines
427 B
Diff

--- a/src/meson.build
+++ b/src/meson.build
@@ -78,8 +78,7 @@
endif
if meson.is_cross_build() or not get_option('scanner')
- scanner_dep = dependency('wayland-scanner', native: true, version: meson.project_version())
- wayland_scanner_for_build = find_program(scanner_dep.get_variable(pkgconfig: 'wayland_scanner'))
+ wayland_scanner_for_build = 'wayland-scanner'
else
wayland_scanner_for_build = wayland_scanner
endif