[Ffmpeg-devel] [PATCH] [RFC] configure cleanup
Måns Rullgård
mru
Wed May 31 01:36:48 CEST 2006
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.
--
M?ns Rullg?rd
mru at inprovide.com
More information about the ffmpeg-devel
mailing list