[Ffmpeg-devel] [PATCH] Cygwin vhook, always static avformat

wzrlpy at arsystel.com wzrlpy
Thu Jul 13 20:55:49 CEST 2006


Hi,

Here is attached the next attempt of patch:

>>> +SLIBSUF=".dll"
>>> +SLIBNAME_WITH_VERSION='$(SLIBPREF)$(NAME)-$(LIBVERSION)$(SLIBSUF)'
>>> +SLIBNAME_WITH_MAJOR='$(SLIBPREF)$(NAME)-$(LIBMAJOR)$(SLIBSUF)'
>>> +SHFLAGS='-shared
>>> -Wl,--out-implib=lib$(NAME).dll.a,--export-all-symbols,--enable-auto-import'
>>
>> OK, assuming the odd-looking (in my Unix eyes) SHFLAGS is correct.
> Yes, it is correct, in the sense that the build succeeds. But I'am afraid
> it
> is yet incomplete, I forgot the --no-whole-archive option, so that
> symbols in dependency libraries are not exported multiple times.
Finally I removed the "--export-all-symbols,--enable-auto-import", they
are set by default under Cygwin.

Regards,
V?ctor Paesa
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffmpeg.cygwin.vhook.5.patch
Type: application/octet-stream
Size: 3387 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20060713/8dfca555/attachment.obj>



More information about the ffmpeg-devel mailing list