etc: fix unknown meson option.
This fixes: > […]/gimp/etc/meson.build:31:39: ERROR: dependency.get_variable got unknown keyword arguments "define_variable" This MR was years-old. Maybe this option got renamed since that time.
This commit is contained in:
parent
b15538d2e6
commit
c55cfc9fa1
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@ if have_bash
|
|||
bash_comp_inst_dir = ''
|
||||
if bash_comp_dep.found()
|
||||
bash_comp_dir_override = bash_comp_dep.version().version_compare('>= 2.10') ? ['datadir', get_option('datadir')] : ['prefix', get_option('prefix')]
|
||||
bash_comp_inst_dir = bash_comp_dep.get_variable('completionsdir', define_variable: bash_comp_dir_override)
|
||||
bash_comp_inst_dir = bash_comp_dep.get_variable('completionsdir', pkgconfig_define: bash_comp_dir_override)
|
||||
endif
|
||||
|
||||
if bash_comp_inst_dir == ''
|
||||
|
|
|
|||
Loading…
Reference in a new issue