Skip to content

Commit

Permalink
Use python module
Browse files Browse the repository at this point in the history
  • Loading branch information
Pusnow committed Apr 26, 2023
1 parent 184d87c commit 49ae16f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -305,9 +305,9 @@ else
endif


py = import('python').find_installation()
if get_option('build_dic')
python_exe = find_program('python3', 'python')
run_command(python_exe, '-m', 'zipfile', '-e', meson.project_source_root() / 'mecab-ko-dic.zip', meson.project_build_root(), check:true)
run_command(py, '-m', 'zipfile', '-e', meson.project_source_root() / 'mecab-ko-dic.zip', meson.project_build_root(), check:true)
mecab_ko_dic = custom_target('mecab_ko_dic',
output : 'mecab-ko-dic',
depends : [mecab_dict_index],
Expand Down

0 comments on commit 49ae16f

Please sign in to comment.