[FFmpeg-devel] [PATCH] Workaround in check for -ldl
Ramiro Polla
ramiro
Tue Jun 19 03:27:08 CEST 2007
M?ns Rullg?rd wrote:
> 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.
>
>
This was somehow expected...
You fix it faster if I send an ugly patch than if I just point out the
problem =)
Ramiro Polla
More information about the ffmpeg-devel
mailing list