libpsl: fix compilation with debian setuptools

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev
2020-09-12 18:50:11 -07:00
parent 9ef725a5ce
commit a85f2e141a
2 changed files with 12 additions and 1 deletions

View File

@@ -0,0 +1,11 @@
--- a/meson.build
+++ b/meson.build
@@ -131,7 +131,7 @@ if psl_test_file == ''
psl_test_file = join_paths(meson.current_source_dir(), 'list', 'tests', 'tests.txt')
endif
-python = import('python').find_installation()
+python = 'python3'
pkgconfig = import('pkgconfig')
if cc.get_id() == 'msvc'