aboutsummaryrefslogtreecommitdiff
path: root/tests/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'tests/meson.build')
-rw-r--r--tests/meson.build4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/meson.build b/tests/meson.build
index 48d2f80..2441cce 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -1,6 +1,6 @@
prog_scan_sh = find_program('scan.sh')
dep_scanner = dependency('wayland-scanner', version: '>=1.20.0', native: true)
-prog_scanner = find_program(dep_scanner.get_pkgconfig_variable('wayland_scanner'))
+prog_scanner = find_program(dep_scanner.get_variable(pkgconfig: 'wayland_scanner'))
libwayland = [
dependency('wayland-client'),
@@ -14,7 +14,7 @@ foreach protocol_file : protocol_files
test(test_name, prog_scan_sh,
args: protocol_path,
env: [
- 'SCANNER=@0@'.format(prog_scanner.path()),
+ 'SCANNER=@0@'.format(prog_scanner.full_path()),
]
)
endforeach