meson: fix use of deprecated meson api external_program.path()
authorTim-Philipp Müller <tim@centricular.com>
Mon, 18 Oct 2021 15:55:14 +0000 (16:55 +0100)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Wed, 20 Oct 2021 11:20:44 +0000 (11:20 +0000)
Just using .full_path() instead.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1183>

subprojects/gstreamer/gst/parse/meson.build
subprojects/gstreamer/libs/gst/helpers/meson.build

index 35ed6f2..161f480 100644 (file)
@@ -15,7 +15,7 @@ else
   message('flex version @0@ >= @1@: YES'.format(flexversion, flex_min_version))
 endif
 
-flex_cdata.set('FLEX', flex.path())
+flex_cdata.set('FLEX', flex.full_path())
 if cc.get_id() == 'msvc'
   flex_cdata.set('FLEX_ARGS', '--nounistd')
 else
@@ -55,7 +55,7 @@ gen_grammar_file = configure_file(input : 'grammar.y.in',
   output : 'grammar.y',
   configuration : bison_parser_cdata)
 
-bison_cdata.set('BISON', bison.path())
+bison_cdata.set('BISON', bison.full_path())
 bison_cdata.set('BISON_ARGS', '')
 
 gen_grammar = configure_file(input : 'gen_grammar.py.in',
index b34423f..d924078 100644 (file)
@@ -118,7 +118,7 @@ if have_ptp
 
   meson.add_install_script('ptp_helper_post_install.sh',
       helpers_install_dir, with_ptp_helper_permissions,
-      setcap_prog.found() ? setcap_prog.path() : '')
+      setcap_prog.found() ? setcap_prog.full_path() : '')
 endif
 
 install_data(['gst_gdb.py', 'glib_gobject_helper.py'],