From c4da87a0cb2534e45bd169916a4de683689678e8 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 26 Sep 2023 15:02:46 +0200 Subject: [PATCH] python/build/openssl: add `configure` variable --- python/build/openssl.py | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/python/build/openssl.py b/python/build/openssl.py index 790d2c00a..4af321996 100644 --- a/python/build/openssl.py +++ b/python/build/openssl.py @@ -55,13 +55,18 @@ class OpenSSLProject(MakeProject): openssl_arch = openssl_archs[toolchain.arch] - subprocess.check_call(['./Configure', - 'no-shared', - 'no-module', 'no-engine', 'no-static-engine', - 'no-async', - 'no-tests', - 'no-asm', # "asm" causes build failures on Windows - openssl_arch, - '--prefix=' + toolchain.install_prefix], - cwd=src, env=toolchain.env) + configure = [ + './Configure', + 'no-shared', + 'no-module', + 'no-engine', + 'no-static-engine', + 'no-async', + 'no-tests', + '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)