Mercurial > libavcodec.hg
changeset 3073:9f486bcad2d3 libavcodec
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.
author | diego |
---|---|
date | Mon, 30 Jan 2006 00:22:41 +0000 |
parents | ab8b79651aa3 |
children | d89dcf01cae2 |
files | Makefile |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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/*~ \