build: use full_path() instead of path()
authorSimon Ser <contact@emersion.fr>
Tue, 8 Mar 2022 12:56:32 +0000 (13:56 +0100)
committerSimon Ser <contact@emersion.fr>
Fri, 25 Mar 2022 09:14:08 +0000 (09:14 +0000)
Fixes the following warning:

    WARNING: Project targeting '>= 0.56.0' but tried to use feature deprecated
    since '0.55.0': ExternalProgram.path. use ExternalProgram.full_path() instead

Signed-off-by: Simon Ser <contact@emersion.fr>
egl/meson.build
tests/meson.build

index 065fd07..b3cbdf3 100644 (file)
@@ -11,7 +11,7 @@ wayland_egl = library(
 
 executable('wayland-egl-abi-check', 'wayland-egl-abi-check.c')
 
-nm_path = find_program('nm').path()
+nm_path = find_program('nm').full_path()
 
 test(
        'wayland-egl symbols check',
index 58794e7..dd1aa85 100644 (file)
@@ -77,7 +77,7 @@ if add_languages('cpp')
        )
 endif
 
-sed_path = find_program('sed').path()
+sed_path = find_program('sed').full_path()
 
 if get_option('scanner')
        test(