--- a/meson.build
+++ b/meson.build
@@ -151,7 +151,8 @@ root_dir = include_directories('.')
 
 gnome = import('gnome')
 
-python3 = import('python').find_installation()
+# Python is used only for tests, which we don't build in OpenWrt
+#python3 = import('python').find_installation()
 gen_installed_test = files('build-aux/gen-installed-test.py')
 
 subdir('json-glib')
