From 12dff8e382c7b63ee39a0513bfd1df1c3485a234 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 26 Sep 2023 15:03:43 +0200 Subject: [PATCH] python/build/openssl: use `no-asm` only on Windows --- python/build/openssl.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python/build/openssl.py b/python/build/openssl.py index 4af321996..b0638e3e3 100644 --- a/python/build/openssl.py +++ b/python/build/openssl.py @@ -63,10 +63,13 @@ class OpenSSLProject(MakeProject): 'no-static-engine', 'no-async', 'no-tests', - 'no-asm', # "asm" causes build failures on Windows openssl_arch, '--prefix=' + toolchain.install_prefix, ] + if toolchain.is_windows: + # workaround for build failures + configure.append('no-asm') + subprocess.check_call(configure, cwd=src, env=toolchain.env) self.build_make(toolchain, src)