python/build/meson.py: keep Meson from executing Android-x86 test binaries

This commit is contained in:
Max Kellermann 2023-03-06 14:21:36 +01:00
parent bd25528ca3
commit 8ab2722300

View File

@ -69,6 +69,12 @@ 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.actual_arch:
f.write("""
# Keep Meson from executing Android-x86 test binaries
needs_exe_wrapper = true
""")
f.write(f"""