From 2a2a98c0d19f8f86876b7f65671d3c9d700385bb Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Wed, 1 May 2002 13:27:40 +0000 Subject: [PATCH] * 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 --- libavcodec/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavcodec/Makefile b/libavcodec/Makefile index 9506300a08..82cc9ede2b 100644 --- a/libavcodec/Makefile +++ b/libavcodec/Makefile @@ -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