summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2021-08-10 14:51:20 +0200
committerMax Kellermann <max@musicpd.org>2021-08-10 15:00:58 +0200
commit1af8694ef64c2791d060c13a41f4c74ac859ce75 (patch)
tree88132275b28e1d1d05fcad9e4e9e3246217d2518 /python
parentb8eb9b466a50118787def88a70cc2b1119a885b9 (diff)
python/meson: set needs_exe_wrapper=true only for Android targets
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}'