python/build/openssl: use `no-asm` only on Windows

This commit is contained in:
Max Kellermann 2023-09-26 15:03:43 +02:00
parent c4da87a0cb
commit 12dff8e382
1 changed files with 4 additions and 1 deletions

View File

@ -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)