summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/build/meson.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/python/build/meson.py b/python/build/meson.py
index 049b52251..25d09b7d2 100644
--- a/python/build/meson.py
+++ b/python/build/meson.py
@@ -55,10 +55,15 @@ c_link_args = {repr(toolchain.ldflags.split() + toolchain.libs.split())}
cpp_args = {repr((toolchain.cppflags + ' ' + toolchain.cxxflags).split())}
cpp_link_args = {repr(toolchain.ldflags.split() + toolchain.libs.split())}
+""")
+ if 'android' in toolchain.arch:
+ f.write("""
# Keep Meson from executing Android-x86 test binariees
needs_exe_wrapper = true
+""")
+ f.write(f"""
[host_machine]
system = '{system}'
cpu_family = '{cpu_family}'