[FFmpeg-devel] [PATCH] Add --enable-auto-image-base to link options for Windows DLLs.

Måns Rullgård mans
Fri May 18 11:17:07 CEST 2007

Diego Biurrun wrote:
> On Fri, May 18, 2007 at 04:43:39PM +0800, Zuxy Meng wrote:
>> --enable-auto-image-base will cause ld to calculate a preferred base
>> address by hashing the DLL's name, instead of always setting DLL's
>> base to 0x10000000, therefore the chance of runtime relocation is
>> reduced. Libtool has already set this by default and cygwin guys
>> recommend all DLL to be built with this option.
> No objections from my side if you've tested this to work..

I'd prefer unrelated linker flags to be passed using separate -Wl options.

M?ns Rullg?rd
mans at mansr.com

More information about the ffmpeg-devel mailing list