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

Diego Biurrun diego
Sat Jul 15 18:00:28 CEST 2006


On Fri, Jul 14, 2006 at 11:20:03PM +0200, V?ctor Paesa wrote:
> 
> > I've removed the Darwin hacks.  Let's see if we can figure out a way to
> > support Cygwin cleanly now.
> >
> Following your example, would be acceptable to define a VHOOKLIBS, that
> would take the role of EXTRALIBS in my previous patch?

I'd have to see the patch, but in general, yes.

> > First off, please split your patch in two parts: one for the vhook issue
> > and one for the shared lib support under Cygwin.
> >
> Here is the patch only to allow shared libraries:

Hmmmmmm

> --- ffmpeg-old/configure	2006-07-14 18:19:20.000000000 +0200
> +++ ffmpeg/configure	2006-07-14 20:32:42.437500000 +0200
> @@ -331,6 +331,7 @@
>  incdir='${prefix}/include/ffmpeg'
>  mandir='${prefix}/man'
>  bindir='${prefix}/bin'
> +shlibdir='$libdir'

Tried the patch? ;-)

As Mans noticed on IRC, this will not work, you will end up with

  shlibdir=$libdir

in config.mak.  Not good.

IMO you should also add configure parameters for setting shlibdir etc.

Diego




More information about the ffmpeg-devel mailing list