[FFmpeg-devel] [PATCH] configure: allow overriding ranlib
Michael Niedermayer
michaelni at gmx.at
Tue Apr 22 22:40:11 CEST 2014
No usecase known, i just implemented this as i thought i need it but then realized i had the cross prefix
not set correctly
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
---
configure | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/configure b/configure
index 38d8a5d..422732c 100755
--- a/configure
+++ b/configure
@@ -1866,6 +1866,7 @@ CMDLINE_SET="
pkg_config_flags
progs_suffix
random_seed
+ ranlib
samples
strip
sysinclude
@@ -2579,7 +2580,7 @@ ln_s="ln -s -f"
nm_default="nm -g"
objformat="elf"
pkg_config_default=pkg-config
-ranlib="ranlib"
+ranlib_default="ranlib"
strip_default="strip"
yasmexe_default="yasm"
windres_default="windres"
@@ -2855,7 +2856,7 @@ cc_default="${cross_prefix}${cc_default}"
cxx_default="${cross_prefix}${cxx_default}"
nm_default="${cross_prefix}${nm_default}"
pkg_config_default="${cross_prefix}${pkg_config_default}"
-ranlib="${cross_prefix}${ranlib}"
+ranlib_default="${cross_prefix}${ranlib_default}"
strip_default="${cross_prefix}${strip_default}"
windres_default="${cross_prefix}${windres_default}"
@@ -2946,7 +2947,7 @@ case "$toolchain" in
;;
esac
-set_default arch cc cxx pkg_config strip sysinclude target_exec target_os yasmexe
+set_default arch cc cxx pkg_config ranlib strip sysinclude target_exec target_os yasmexe
enabled cross_compile || host_cc_default=$cc
set_default host_cc
--
1.7.9.5
More information about the ffmpeg-devel
mailing list