[FFmpeg-devel] [PATCH] configure: Fix case of static libmp3lame

James Almer jamrial at gmail.com
Wed Dec 20 04:57:11 EET 2017


On 12/16/2017 12:50 PM, Stefan Pöschel wrote:
> Fixes #6918.
> ---
>  configure | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/configure b/configure
> index d5bbb5b..20ca792 100755
> --- a/configure
> +++ b/configure
> @@ -5853,7 +5853,7 @@ enabled libkvazaar        && require_pkg_config libkvazaar "kvazaar >= 0.8.1" kv
>  enabled libmfx            && { check_pkg_config libmfx libmfx "mfx/mfxvideo.h" MFXInit ||
>                                 { require libmfx "mfx/mfxvideo.h" MFXInit "-llibmfx $advapi32_extralibs" && warn "using libmfx without pkg-config"; } }
>  enabled libmodplug        && require_pkg_config libmodplug libmodplug libmodplug/modplug.h ModPlug_Load
> -enabled libmp3lame        && require "libmp3lame >= 3.98.3" lame/lame.h lame_set_VBR_quality -lmp3lame
> +enabled libmp3lame        && require "libmp3lame >= 3.98.3" lame/lame.h lame_set_VBR_quality -lmp3lame -lm
>  enabled libmysofa         && require libmysofa "mysofa.h" mysofa_load -lmysofa $zlib_extralibs
>  enabled libnpp            && { check_lib libnpp npp.h nppGetLibVersion -lnppig -lnppicc -lnppc ||
>                                 check_lib libnpp npp.h nppGetLibVersion -lnppi -lnppc ||
> 

Fixed to add -lm only when required and pushed. Thanks.


More information about the ffmpeg-devel mailing list