meson: Fix running of psl-make-dafsa on Windows
`find_program()` evaluates to `python psl-make-dafsa` on Windows, so running it with `python` evaluates to `python python psl-make-dafsa`, causing this error on Windows: ``` "c:/python38/python.exe" "python" "C:/projects/repos/libpsl/src/psl-make-dafsa" "--output-format=binary" "C:/projects/repos/libpsl/list/public_suffix_list.dat" "tests/psl.dafsa" c:/python38/python.exe: can't open file 'python': [Errno 2] No such file or directory ```
This commit is contained in:
parent
20ad8fb106
commit
0c11bf19df
|
@ -1,4 +1,4 @@
|
||||||
psl_make_dafsa = find_program('psl-make-dafsa')
|
psl_make_dafsa = files('psl-make-dafsa')
|
||||||
|
|
||||||
suffixes_dafsa_h = custom_target('suffixes_dafsa.h',
|
suffixes_dafsa_h = custom_target('suffixes_dafsa.h',
|
||||||
input : psl_file,
|
input : psl_file,
|
||||||
|
|
Loading…
Reference in New Issue