aports/main/bubblewrap/python-for-tests.patch
2025-09-09 19:12:50 +00:00

19 lines
398 B
Diff

Allows building without Python installed, when tests are not enabled.
--- a/meson.build
+++ b/meson.build
@@ -59,11 +59,13 @@ endif
bash = find_program('bash', required : false)
+if get_option('tests')
if get_option('python') == ''
python = find_program('python3')
else
python = find_program(get_option('python'))
endif
+endif
libcap_dep = dependency('libcap', required : true)