[FFmpeg-devel] [PATCH] Workaround in check for -ldl

Måns Rullgård mans
Tue Jun 19 03:08:48 CEST 2007


Ramiro Polla <ramiro at lisha.ufsc.br> writes:

> Hello,
>
> check_func puts the extra libraries before the object file. In MinGW,
> the order matters, so -ldl must come after the .o file.
> Patch attached.
>
> Ramiro Polla
> --- configure.orig	Mon Jun 18 21:10:54 2007
> +++ configure	Mon Jun 18 21:10:46 2007
> @@ -1601,8 +1601,11 @@
>
>  if check_func dlopen; then
>      ldl=
> -elif check_func dlopen -ldl; then
> +else
> +    temp_extralibs -ldl
> +    check_func dlopen &&
>      ldl=-ldl
> +    restore_flags
>  fi
>
>  check_func fork

Not OK.  I'll have a look tomorrow.

-- 
M?ns Rullg?rd
mans at mansr.com




More information about the ffmpeg-devel mailing list