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.
This commit is contained in:
@ -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,
|
||||
|
@ -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,
|
||||
|
Reference in New Issue
Block a user