[Ffmpeg-devel] [PATCH] [RFC] configure cleanup

Måns Rullgård mru
Wed May 31 21:56:43 CEST 2006


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.

-- 
M?ns Rullg?rd
mru at inprovide.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure-cleanup.diff
Type: text/x-patch
Size: 13295 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20060531/7877faf1/attachment.bin>



More information about the ffmpeg-devel mailing list