Commit 694debd4 authored by Max Kellermann's avatar Max Kellermann Committed by Max Kellermann

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

The "install_dev" target runs ranlib during installation, and this can break the Android build.
parent 0f56ddb8
...@@ -17,6 +17,12 @@ class OpenSSLProject(MakeProject): ...@@ -17,6 +17,12 @@ class OpenSSLProject(MakeProject):
'build_libs', '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): def build(self, toolchain):
src = self.unpack(toolchain, out_of_tree=False) src = self.unpack(toolchain, out_of_tree=False)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment