[Ffmpeg-cvslog] CVS: ffmpeg/libavcodec Makefile,1.230,1.231

Diego Biurrun CVS diego
Mon Jan 30 01:22:44 CET 2006


Update of /cvsroot/ffmpeg/ffmpeg/libavcodec
In directory mail:/var2/tmp/cvs-serv13674/libavcodec

Modified Files:
	Makefile 
Log Message:
On MinGW it is not possible to build shared and static libraries at once.
Add means to disable building the static libraries and fix a few issues
with the MinGW build.
All the hard work done by Alexander Strasser, minor changes by myself.


Index: Makefile
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/libavcodec/Makefile,v
retrieving revision 1.230
retrieving revision 1.231
diff -u -d -r1.230 -r1.231
--- Makefile	29 Jan 2006 18:32:55 -0000	1.230
+++ Makefile	30 Jan 2006 00:22:41 -0000	1.231
@@ -11,7 +11,7 @@
 
 #FIXME: This should be in configure/config.mak
 ifeq ($(CONFIG_WIN32),yes)
-    LDFLAGS=-Wl,--output-def,$(@:.dll=.def)
+    LDFLAGS=-Wl,--output-def,$(@:.dll=.def),--out-implib,lib$(SLIBNAME:$(SLIBSUF)=.dll.a)
 endif
 
 OBJS= bitstream.o utils.o mem.o allcodecs.o \
@@ -449,6 +449,7 @@
 
 clean: $(CLEANAMR)
 	rm -f *.o *.d *~ *.a *.lib *.so *.dylib *.dll \
+	   *.dll.a *.def *.exp \
 	   i386/*.o i386/*~ \
 	   armv4l/*.o armv4l/*~ \
 	   mlib/*.o mlib/*~ \





More information about the ffmpeg-cvslog mailing list