[FFmpeg-devel] [PATCH] configure: allow overriding ranlib
Timothy Gu
timothygu99 at gmail.com
Wed Apr 23 02:22:48 CEST 2014
On Apr 22, 2014 1:41 PM, "Michael Niedermayer" <michaelni at gmx.at> wrote:
>
> 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(-)
Didn't check: is --ranlib= documented in ./configure --help? If not then
you should add it here.
>
> 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
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
More information about the ffmpeg-devel
mailing list