[FFmpeg-devel] [PATCH] Add --enable-auto-image-base to linkoptions for Windows DLLs.
Sat May 19 18:25:49 CEST 2007
2007/5/18, V?ctor Paesa <wzrlpy at arsystel.com>:
> > 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.
> If recommended by Cygwin gurus, I'd suggest to use the flag there too :-)
> As in attached patch:
Applied both patches, following Mans' suggestion.
Beauty is truth,
While truth is beauty.
PGP KeyID: E8555ED6
More information about the ffmpeg-devel