python/build/openssl: add --cross-compile-prefix=...

This commit is contained in:
Max Kellermann 2023-09-26 15:31:20 +02:00
parent 2d25f6f57f
commit 94af199c49
1 changed files with 1 additions and 0 deletions

View File

@ -74,6 +74,7 @@ class OpenSSLProject(MakeProject):
if toolchain.host_triplet is not None:
configure.append(openssl_archs[toolchain.host_triplet])
configure.append(f'--cross-compile-prefix={toolchain.host_triplet}-')
subprocess.check_call(configure, cwd=src, env=toolchain.env)
self.build_make(toolchain, src)