changeset 348:ae9e9af0b627 libavcodec

* by Thomas Sailer: otherwise ffmpeg doesn't compile if shared libs are requested and mp3lame is selected...
author kabi
date Wed, 01 May 2002 13:27:40 +0000
parents 3c5266cda02d
children 34f6c77ff01a
files Makefile
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Tue Apr 30 01:29:29 2002 +0000
+++ b/Makefile	Wed May 01 13:27:40 2002 +0000
@@ -23,6 +23,7 @@
 
 ifeq ($(CONFIG_MP3LAME),yes)
 OBJS += mp3lameaudio.o
+EXTRALIBS += -lmp3lame
 endif
 
 ifeq ($(TARGET_GPROF),yes)
@@ -74,7 +75,7 @@
 
 $(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