Merge pull request #150 from ystreet/meson-python

meson: run python script against the meson version of python
This commit is contained in:
Tim Rühsen 2020-04-02 10:22:12 +02:00 committed by GitHub
commit 96412ad0e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -3,7 +3,7 @@ psl_make_dafsa = find_program('psl-make-dafsa')
suffixes_dafsa_h = custom_target('suffixes_dafsa.h',
input : psl_file,
output : 'suffixes_dafsa.h',
command : [psl_make_dafsa, '--output-format=cxx+', '@INPUT@', '@OUTPUT@'])
command : [python, psl_make_dafsa, '--output-format=cxx+', '@INPUT@', '@OUTPUT@'])
sources = [
'lookup_string_in_fixed_set.c',

View File

@ -1,12 +1,12 @@
psl_dafsa = custom_target('psl.dafsa',
input : psl_file,
output : 'psl.dafsa',
command : [psl_make_dafsa, '--output-format=binary', '@INPUT@', '@OUTPUT@'])
command : [python, psl_make_dafsa, '--output-format=binary', '@INPUT@', '@OUTPUT@'])
psl_ascii_dafsa = custom_target('psl_ascii.dafsa',
input : psl_file,
output : 'psl_ascii.dafsa',
command : [psl_make_dafsa, '--output-format=binary', '--encoding=ascii', '@INPUT@', '@OUTPUT@'])
command : [python, psl_make_dafsa, '--output-format=binary', '--encoding=ascii', '@INPUT@', '@OUTPUT@'])
tests_cargs = [
'-DHAVE_CONFIG_H',