# HG changeset patch # User diego # Date 1138580561 0 # Node ID 9f486bcad2d3fc421f7c3c2e2aabb073bc722ca8 # Parent ab8b79651aa30fa3d7d15b7af812872c0a390c32 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. diff -r ab8b79651aa3 -r 9f486bcad2d3 Makefile --- a/Makefile Sun Jan 29 18:32:55 2006 +0000 +++ b/Makefile Mon Jan 30 00:22:41 2006 +0000 @@ -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/*~ \