aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2022-03-08 13:58:17 +0100
committerSimon Ser <contact@emersion.fr>2022-03-25 09:14:08 +0000
commitb6bbc0c44dd1d533700a973b3837410d4a9df7c7 (patch)
tree1c71198bfe4387cc239f75624e853dad4c1585a1 /src
parentbuild: specify native arg in add_languages() (diff)
downloadwayland-b6bbc0c44dd1d533700a973b3837410d4a9df7c7.tar
wayland-b6bbc0c44dd1d533700a973b3837410d4a9df7c7.tar.gz
wayland-b6bbc0c44dd1d533700a973b3837410d4a9df7c7.tar.bz2
wayland-b6bbc0c44dd1d533700a973b3837410d4a9df7c7.tar.lz
wayland-b6bbc0c44dd1d533700a973b3837410d4a9df7c7.tar.xz
wayland-b6bbc0c44dd1d533700a973b3837410d4a9df7c7.tar.zst
wayland-b6bbc0c44dd1d533700a973b3837410d4a9df7c7.zip
build: use get_variable(pkgconfig) instead of get_pkgconfig_variable()
We don't get a warning for it yet, but get_pkgconfig_variable() is deprecated. Signed-off-by: Simon Ser <contact@emersion.fr>
Diffstat (limited to 'src')
-rw-r--r--src/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/meson.build b/src/meson.build
index ae8f387..266c8b1 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -71,7 +71,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_pkgconfig_variable('wayland_scanner'))
+ wayland_scanner_for_build = find_program(scanner_dep.get_variable(pkgconfig: 'wayland_scanner'))
else
wayland_scanner_for_build = wayland_scanner
endif