python/build/openssl: add `configure` variable

This commit is contained in:
Max Kellermann 2023-09-26 15:02:46 +02:00
parent 446f8f29d3
commit c4da87a0cb
1 changed files with 14 additions and 9 deletions

View File

@ -55,13 +55,18 @@ class OpenSSLProject(MakeProject):
openssl_arch = openssl_archs[toolchain.arch] openssl_arch = openssl_archs[toolchain.arch]
subprocess.check_call(['./Configure', configure = [
'no-shared', './Configure',
'no-module', 'no-engine', 'no-static-engine', 'no-shared',
'no-async', 'no-module',
'no-tests', 'no-engine',
'no-asm', # "asm" causes build failures on Windows 'no-static-engine',
openssl_arch, 'no-async',
'--prefix=' + toolchain.install_prefix], 'no-tests',
cwd=src, env=toolchain.env) 'no-asm', # "asm" causes build failures on Windows
openssl_arch,
'--prefix=' + toolchain.install_prefix,
]
subprocess.check_call(configure, cwd=src, env=toolchain.env)
self.build_make(toolchain, src) self.build_make(toolchain, src)