[Ffmpeg-devel] [PATCH] cygwin, link error

Diego Biurrun diego
Wed Mar 29 11:14:13 CEST 2006


On Tue, Mar 21, 2006 at 01:15:50PM +0100, Marcus Engene wrote:
> 
> ffmpeg cvs today, cygwin updated today.
> 
> Perhaps I've done something silly again.
> Compilation gets upset that libz isn't after the things using it.
> 
> Attached patch on libavformat/Makefile
> fixes the compilation. Is it ok?

I just confirmed the problem and the fix.

> --- Makefile.org	2006-03-21 14:02:07.343750000 +0100
> +++ Makefile	2006-03-21 14:02:27.343750000 +0100
> @@ -66,7 +66,7 @@
>  OBJS+= audio.o
>  endif
>  
> -EXTRALIBS += -L../libavutil -lavutil$(BUILDSUF) -lavcodec$(BUILDSUF) -L../libavcodec
> +EXTRALIBS := -L../libavutil -lavutil$(BUILDSUF) -lavcodec$(BUILDSUF) -L../libavcodec $(EXTRALIBS)

I don't particularly like it, but I don't know a better solution.  Mans?

Diego





More information about the ffmpeg-devel mailing list