[Ffmpeg-devel] [PATCH] Don't use --as-needed for every operatingsystem

Víctor Paesa wzrlpy
Tue Oct 17 00:08:14 CEST 2006


Hi,
> On Monday 16 October 2006 19:47, Luca Barbato wrote:
>> Which other os have similar behaviour?
> BSD-based seem to be the main ones; I'm not sure about Solaris, as I don't
> have access to one myself.
> Also, --as-needed only makes sense for ELF targets, as far as I can see,
> and
> this rules out its usefulness for PE (Windows) and Mach-O (Mac OSX).
>

Right, --as-needed is not needed under Cygwin (at least with ld 2.17.50).
The option seems ignored (no warnings generated).
And -rpath-link is also ELF specific, equally ignored here.

Regards,
V?ctor





More information about the ffmpeg-devel mailing list