* by Thomas Sailer:

otherwise ffmpeg doesn't compile if shared libs are requested and mp3lame
  is selected...

Originally committed as revision 428 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Zdenek Kabelac 2002-05-01 13:27:40 +00:00
parent bb71e31757
commit 2a2a98c0d1
1 changed files with 2 additions and 1 deletions

View File

@ -23,6 +23,7 @@ endif
ifeq ($(CONFIG_MP3LAME),yes)
OBJS += mp3lameaudio.o
EXTRALIBS += -lmp3lame
endif
ifeq ($(TARGET_GPROF),yes)
@ -74,7 +75,7 @@ $(LIB): $(OBJS) $(ASM_OBJS)
$(SLIB): $(OBJS) $(ASM_OBJS)
rm -f $@
$(CC) -shared -o $@ $(OBJS) $(ASM_OBJS)
$(CC) -shared -o $@ $(OBJS) $(ASM_OBJS) $(EXTRALIBS)
ln -sf $@ libffmpeg.so
dsputil.o: dsputil.c dsputil.h