meson: Improve compatibility with Meson 0.49

That version doesn't allow more than two arguments for define_variable.

Signed-off-by: Simon McVittie <smcv@collabora.com>
This commit is contained in:
Simon McVittie
2022-02-19 18:06:37 +00:00
parent 2e3d6e7dc7
commit d8b4221d54

View File

@@ -22,7 +22,6 @@ if bash_completion_dir == ''
'completionsdir',
default: '',
define_variable: [
'prefix', get_option('prefix'),
'datadir', get_option('prefix') / get_option('datadir'),
],
)