diff options
author | Fabrice Bellard <fabrice@bellard.org> | 2003-09-16 20:28:53 +0000 |
---|---|---|
committer | Fabrice Bellard <fabrice@bellard.org> | 2003-09-16 20:28:53 +0000 |
commit | cf7412b58d5fb7fe37c15a916057c9b5398eb622 (patch) | |
tree | 115f159f82134df438efdb2de0003170698fe671 /libavcodec/Makefile | |
parent | 988a9f9e3a47e2b9b6459ad8d982e43bfeae52d1 (diff) | |
download | ffmpeg-cf7412b58d5fb7fe37c15a916057c9b5398eb622.tar.gz |
use VC++ lib tool if available
Originally committed as revision 2286 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/Makefile')
-rw-r--r-- | libavcodec/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libavcodec/Makefile b/libavcodec/Makefile index ed5642083e..8af210ae77 100644 --- a/libavcodec/Makefile +++ b/libavcodec/Makefile @@ -1,6 +1,6 @@ # # libavcodec Makefile -# (c) 2000, 2001, 2002 Fabrice Bellard +# (c) 2000-2003 Fabrice Bellard # include ../config.mak @@ -158,7 +158,12 @@ $(LIB): $(OBJS) $(AMRLIBS) $(RANLIB) $@ $(SLIB): $(OBJS) +ifeq ($(CONFIG_WIN32),yes) + $(CC) $(SHFLAGS) -Wl,--output-def,$(@:.dll=.def) -o $@ $(OBJS) $(EXTRALIBS) $(AMREXTRALIBS) + -lib /machine:i386 /def:$(@:.dll=.def) +else $(CC) $(SHFLAGS) -o $@ $(OBJS) $(EXTRALIBS) $(AMREXTRALIBS) +endif dsputil.o: dsputil.c dsputil.h |