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

Víctor Paesa wzrlpy
Tue Sep 12 23:08:51 CEST 2006


Hi,
> On Mon, Sep 11, 2006 at 12:42:21AM +0200, V?ctor Paesa wrote:
>> Hi,
>> > On Sat, Sep 09, 2006 at 03:52:09PM +0100, M?ns Rullg?rd wrote:
>> >> V?ctor Paesa <wzrlpy at arsystel.com> writes:
>> >> >
>> >> > As usual, patch attached.
>> >> >
>> >> > --- ffmpeg-old/configure	2006-09-01 17:44:56.000000000 +0200
>> >> > +++ ffmpeg/configure	2006-09-09 15:59:44.890625000 +0200
>> >> @@ -874,6 +880,14 @@
>> >>      logfile=/dev/null
>> >>  fi
>> >>
>> >> +# FIXME It should be posible to create vhooks for Cygwin static
>> builds,
>> >> +# I leave this as a challenge to linker script wizards.
>> >> +if test "$targetos" = "CYGWIN" ; then
>> >> +    if test "$lstatic" = "yes" ; then
>> >> +        vhook="no"
>> >> +    fi
>> >> +fi
>> >
>> > This should with the rest of the cygwin specific bits.
>> >
>> I would need a hint on how to do that, I wrote this chunk after the
>> configure options are parsed so that $lstatic is set.
>> Should I parse the --enable/disable-static options?
>
> Look around line 1360, there are some vhook checks anyway.  Integrating
> it at this position would be cleaner.
>
OK, thanks, it makes sense.

Patch attached.

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



More information about the ffmpeg-devel mailing list