[Ffmpeg-devel] [PATCH] Cygwin vhook, always static avformat
Diego Biurrun
diego
Tue Sep 12 19:09:02 CEST 2006
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.
Diego
More information about the ffmpeg-devel
mailing list