projects/aports·blob master · refs

18 lines · 398 B

1Allows building without Python installed, when tests are not enabled.
2
3--- a/meson.build
4+++ b/meson.build
5@@ -59,11 +59,13 @@ endif
6
7 bash = find_program('bash', required : false)
8
9+if get_option('tests')
10 if get_option('python') == ''
11 python = find_program('python3')
12 else
13 python = find_program(get_option('python'))
14 endif
15+endif
16
17 libcap_dep = dependency('libcap', required : true)
18