summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2016-10-26 10:40:19 +0200
committerMax Kellermann <max@musicpd.org>2016-10-26 17:00:17 +0200
commit8380c3be02726c68d30bdcb7262bf1655f4d4558 (patch)
treed840dd65c6d1beacec75ff3b632e5268d1c1a8d2 /python
parent6470bcda1996112a2f5089a7170f9c69857b19d1 (diff)
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.
Diffstat (limited to 'python')
-rw-r--r--python/build/autotools.py1
-rw-r--r--python/build/ffmpeg.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/python/build/autotools.py b/python/build/autotools.py
index 56b4ede59..d9a1f156b 100644
--- a/python/build/autotools.py
+++ b/python/build/autotools.py
@@ -32,6 +32,7 @@ class AutotoolsProject(Project):
'LDFLAGS=' + toolchain.ldflags,
'LIBS=' + toolchain.libs,
'AR=' + toolchain.ar,
+ 'RANLIB=' + toolchain.ranlib,
'STRIP=' + toolchain.strip,
'--host=' + toolchain.arch,
'--prefix=' + toolchain.install_prefix,
diff --git a/python/build/ffmpeg.py b/python/build/ffmpeg.py
index b3ed215a2..1a5ec3d5f 100644
--- a/python/build/ffmpeg.py
+++ b/python/build/ffmpeg.py
@@ -34,6 +34,7 @@ class FfmpegProject(Project):
'--extra-ldflags=' + toolchain.ldflags,
'--extra-libs=' + toolchain.libs,
'--ar=' + toolchain.ar,
+ '--ranlib=' + toolchain.ranlib,
'--enable-cross-compile',
'--arch=' + arch,
'--target-os=' + target_os,