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

Måns Rullgård mans
Tue Jun 19 03:29:42 CEST 2007


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

> 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 =)

Yes, since it is after all past midnight I've already fixed it.

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




More information about the ffmpeg-devel mailing list