diff options
author | Max Kellermann <max@musicpd.org> | 2021-08-06 17:30:45 +0200 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2021-08-06 17:30:47 +0200 |
commit | b0e95388554eeef78e3e3c4c6eb401b297b7603b (patch) | |
tree | cae3a2c08b18270b1343e5858c24dd30fbe59ff2 /python/build/openssl.py | |
parent | 694debd4cc7f13e70da78ee0b6eb85745620e099 (diff) |
build/openssl: pass --cross-compile-prefix to ./Configure
Diffstat (limited to 'python/build/openssl.py')
-rw-r--r-- | python/build/openssl.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/python/build/openssl.py b/python/build/openssl.py index ecf88d4e2..605a04c74 100644 --- a/python/build/openssl.py +++ b/python/build/openssl.py @@ -48,6 +48,7 @@ class OpenSSLProject(MakeProject): } openssl_arch = openssl_archs[toolchain.arch] + cross_compile_prefix = toolchain.toolchain_arch + '-' subprocess.check_call(['./Configure', 'no-shared', @@ -56,6 +57,7 @@ class OpenSSLProject(MakeProject): 'no-tests', 'no-asm', # "asm" causes build failures on Windows openssl_arch, + '--cross-compile-prefix=' + cross_compile_prefix, '--prefix=' + toolchain.install_prefix], cwd=src, env=toolchain.env) MakeProject.build(self, toolchain, src) |