build/openssl: pass RANLIB=... to "make install"

The "install_dev" target runs ranlib during installation, and this
can break the Android build.
This commit is contained in:
Max Kellermann 2021-04-20 05:37:49 +02:00 committed by Max Kellermann
parent 0f56ddb805
commit 694debd4cc

View File

@ -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)