meson: Fix configuration warnings

This commit is contained in:
Xavier Claessens 2022-09-07 09:34:29 -04:00
parent 952a04a9f2
commit 36f5b76640
3 changed files with 4 additions and 3 deletions

View File

@ -334,7 +334,8 @@ else
@1@
'''
gperf_snippet_format = 'echo foo,bar | @0@ -L ANSI-C'
gperf_snippet = run_command(sh, '-c', gperf_snippet_format.format(gperf.path()))
gperf_snippet = run_command(sh, '-c', gperf_snippet_format.format(gperf.full_path()),
check: true)
gperf_test = gperf_test_format.format('size_t', gperf_snippet.stdout())
if cc.compiles(gperf_test)

View File

@ -1,3 +1,3 @@
i18n.gettext(meson.project_name(),
args: '--directory=' + meson.source_root()
args: '--directory=' + meson.project_source_root()
)

View File

@ -1,3 +1,3 @@
i18n.gettext(meson.project_name() + '-conf',
args: '--directory=' + meson.source_root()
args: '--directory=' + meson.project_source_root()
)