Mercurial > libavformat.hg
changeset 212:84b7fd1abf2c libavformat
MingW patches by (Glenn Maynard <g_sf at zewt dot org>)
author | michaelni |
---|---|
date | Thu, 04 Sep 2003 08:21:27 +0000 |
parents | 349d63d52e7e |
children | 89a78842f6c2 |
files | Makefile |
diffstat | 1 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile Tue Sep 02 04:32:02 2003 +0000 +++ b/Makefile Thu Sep 04 08:21:27 2003 +0000 @@ -80,7 +80,12 @@ $(RANLIB) $@ $(SLIB): $(OBJS) - $(CC) $(SHFLAGS) -o $@ $(OBJS) $(PPOBJS) $(EXTRALIBS) $(AMREXTRALIBS) +ifeq ($(TARGET_MINGW32),yes) + $(CC) $(SHFLAGS) -Wl,--output-def,$(@:.dll=.def) -o $@ $(OBJS) $(PPOBJS) $(EXTRALIBS) $(AMREXTRALIBS) $(VPATH)/../libavcodec/avcodec.dll + -lib /machine:i386 /def:$(@:.dll=.def) +else + $(CC) $(SHFLAGS) -o $@ $(OBJS) $(PPOBJS) $(EXTRALIBS) $(AMREXTRALIBS) +endif depend: $(SRCS) $(CC) -MM $(CFLAGS) $^ 1>.depend