Commit d4784046 authored by bellard's avatar bellard

use VC++ lib tool if available


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@2286 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent b0536fd1
# #
# libavcodec Makefile # libavcodec Makefile
# (c) 2000, 2001, 2002 Fabrice Bellard # (c) 2000-2003 Fabrice Bellard
# #
include ../config.mak include ../config.mak
...@@ -158,7 +158,12 @@ $(LIB): $(OBJS) $(AMRLIBS) ...@@ -158,7 +158,12 @@ $(LIB): $(OBJS) $(AMRLIBS)
$(RANLIB) $@ $(RANLIB) $@
$(SLIB): $(OBJS) $(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) $(CC) $(SHFLAGS) -o $@ $(OBJS) $(EXTRALIBS) $(AMREXTRALIBS)
endif
dsputil.o: dsputil.c dsputil.h dsputil.o: dsputil.c dsputil.h
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment