From: Tim-Philipp Müller Date: Mon, 18 Oct 2021 15:55:14 +0000 (+0100) Subject: meson: fix use of deprecated meson api external_program.path() X-Git-Tag: 1.19.3~111 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=081cada7cbcf9051671dbaf8afecd457fb897ab5;p=platform%2Fupstream%2Fgstreamer.git meson: fix use of deprecated meson api external_program.path() Just using .full_path() instead. Part-of: --- diff --git a/subprojects/gstreamer/gst/parse/meson.build b/subprojects/gstreamer/gst/parse/meson.build index 35ed6f2..161f480 100644 --- a/subprojects/gstreamer/gst/parse/meson.build +++ b/subprojects/gstreamer/gst/parse/meson.build @@ -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', diff --git a/subprojects/gstreamer/libs/gst/helpers/meson.build b/subprojects/gstreamer/libs/gst/helpers/meson.build index b34423f..d924078 100644 --- a/subprojects/gstreamer/libs/gst/helpers/meson.build +++ b/subprojects/gstreamer/libs/gst/helpers/meson.build @@ -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'],