diff options
author | Max Kellermann <max.kellermann@gmail.com> | 2021-04-20 05:37:49 +0200 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2021-08-06 17:28:28 +0200 |
commit | 694debd4cc7f13e70da78ee0b6eb85745620e099 (patch) | |
tree | 043defb2517269508d5743addc90efa63709d383 /python/build/openssl.py | |
parent | 0f56ddb80554e014714b9d0385a0bf175521a61d (diff) |
build/openssl: pass RANLIB=... to "make install"
The "install_dev" target runs ranlib during installation, and this
can break the Android build.
Diffstat (limited to 'python/build/openssl.py')
-rw-r--r-- | python/build/openssl.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/python/build/openssl.py b/python/build/openssl.py index a7350e6ac..ecf88d4e2 100644 --- a/python/build/openssl.py +++ b/python/build/openssl.py @@ -17,6 +17,12 @@ class OpenSSLProject(MakeProject): 'build_libs', ] + def get_make_install_args(self, toolchain): + # OpenSSL's Makefile runs "ranlib" during installation + return MakeProject.get_make_install_args(self, toolchain) + [ + 'RANLIB=' + toolchain.ranlib, + ] + def build(self, toolchain): src = self.unpack(toolchain, out_of_tree=False) |