From 8380c3be02726c68d30bdcb7262bf1655f4d4558 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 26 Oct 2016 10:40:19 +0200 Subject: python/build/autotools: pass RANLIB to configure Fixes various static library linker failures ("bad extended name entry at header"), because the wrong "ranlib" was used. --- android/build.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'android/build.py') diff --git a/android/build.py b/android/build.py index 18f80ca88..5d0a9954a 100755 --- a/android/build.py +++ b/android/build.py @@ -78,6 +78,7 @@ class AndroidNdkToolchain: self.cxx = os.path.join(toolchain_bin, arch + '-g++') self.ar = os.path.join(toolchain_bin, arch + '-ar') + self.ranlib = os.path.join(toolchain_bin, arch + '-ranlib') self.nm = os.path.join(toolchain_bin, arch + '-nm') self.strip = os.path.join(toolchain_bin, arch + '-strip') @@ -142,6 +143,7 @@ configure = [ 'LDFLAGS=' + toolchain.ldflags, 'LIBS=' + toolchain.libs, 'AR=' + toolchain.ar, + 'RANLIB=' + toolchain.ranlib, 'STRIP=' + toolchain.strip, '--host=' + toolchain.arch, '--prefix=' + toolchain.install_prefix, -- cgit v1.2.3