Commit 7fb1ee60 authored by James Hilliard's avatar James Hilliard

protocol/meson.build: search path for wayland-scanner before pkg-config for cross build

Signed-off-by: James Hilliard's avatarJames Hilliard <james.hilliard1@gmail.com>
parent ee4c7a24
Pipeline #32025 passed with stages
in 1 minute and 9 seconds
dep_scanner = dependency('wayland-scanner', native: true)
prog_scanner = find_program(dep_scanner.get_pkgconfig_variable('wayland_scanner'))
if meson.is_cross_build()
prog_scanner = find_program('wayland-scanner', dep_scanner.get_pkgconfig_variable('wayland_scanner'))
else
prog_scanner = find_program(dep_scanner.get_pkgconfig_variable('wayland_scanner'))
endif
# XXX: For minor version 2 of zwp_linux_explicit_synchronization_v1, we
# actually need a development version after 1.17, but there is no way to
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment