[Ffmpeg-devel] [PATCH] [RFC] configure cleanup
Måns Rullgård
mru
Thu Jun 1 11:11:07 CEST 2006
M?ns Rullg?rd said:
> M?ns Rullg?rd <mru at inprovide.com> writes:
>
>> Dave Dodge <dododge at dododge.net> writes:
>>
>>> On Tue, May 30, 2006 at 11:26:55PM +0100, M?ns Rullg?rd wrote:
>>>> Rich Felker <dalias at aerifal.cx> writes:
>>>> > All options should appear before non-option arguments,
>>>>
>>>> That breaks with single-pass linkers that only look in libraries for
>>>> thus far encountered undefined symbols.
>>>
>>> Aside: in the POSIX standard interface to the C99 compiler, all
>>> options (such as -O) are supposed to be specified before any operands
>>> (.c, .a, or .o files). To get around the problem of traditional -l
>>> handling, as a special case it considers "-l library" to be an operand
>>> despite the option-style syntax.
>>
>> I guess the proper solution is to split the variable in two parts: one
>> for linker flags and one for -lfoo. I'll look at that tomorrow.
>
> OK, here's a new version that I think gets everything in the proper order.
If nobody reports any problems with these changes I'll apply them tonight.
--
M?ns Rullg?rd
mru at inprovide.com
More information about the ffmpeg-devel
mailing list