0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-05-31 14:02:05 +00:00
Files
termux-packages/x11-packages/orca/meson.build.patch
2025-01-10 23:10:10 +05:30

14 lines
430 B
Diff

Prevent running pygobject scripts from termux prefix
--- a/meson.build
+++ b/meson.build
@@ -31,7 +31,7 @@
gtk_test = run_command(python3, '-c', gtk_command, check: false)
description = f'GTK @gtk_major_version@.@gtk_minor_version@'
version = gtk_test.stdout().strip()
-if gtk_test.returncode() != 0
+if meson.can_run_host_binaries() and gtk_test.returncode() != 0
error(f'@description@ failed (found @version@)')
endif