meson: fix use of deprecated meson api external_program.path()

Just using .full_path() instead.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1183>
This commit is contained in:
Tim-Philipp Müller 2021-10-18 16:55:14 +01:00 committed by GStreamer Marge Bot
parent c5bc0bd7c4
commit 081cada7cb
2 changed files with 3 additions and 3 deletions

View 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',

View 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'],