[Ffmpeg-devel] Using ffmpeg libs in an OSS project is a nightmare

Alexander Strasser eclipse7
Wed Aug 10 23:47:44 CEST 2005

Fran?ois Revol wrote:
> > > Is it ok now to cvs ci again ?
> >
> >   What do you want to check in?
> The fix.

  Sorry, i really don't see the connection between your 2 statements
  But anyway the attached patch makes shared compilation under
windows work again. Is it enough for your platform too, or does
it need additional lib reordering?

  Though i wonder if it is correct to do it that way, but at least
it is analog to how it is done with libavcodec and that was done
before i introduced libavutil.

  Alex (beastd)
-------------- next part --------------
Index: libavformat/Makefile
RCS file: /cvsroot/ffmpeg/ffmpeg/libavformat/Makefile,v
retrieving revision 1.96
diff -u -r1.96 Makefile
--- libavformat/Makefile	1 Aug 2005 20:07:04 -0000	1.96
+++ libavformat/Makefile	10 Aug 2005 21:16:28 -0000
@@ -56,6 +56,8 @@
 OBJS+= audio.o 
+EXTRALIBS += -L$(SRC_PATH)/libavutil -lavutil$(BUILDSUF)
 ifeq ($(CONFIG_AUDIO_BEOS),yes)
 PPOBJS+= beosaudio.o
 EXTRALIBS+=-lbe -lmedia

More information about the ffmpeg-devel mailing list