aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZdenek Kabelac <kabi@informatics.muni.cz>2002-05-01 13:27:40 +0000
committerZdenek Kabelac <kabi@informatics.muni.cz>2002-05-01 13:27:40 +0000
commit2a2a98c0d19f8f86876b7f65671d3c9d700385bb (patch)
tree948d2c1be6a606a1fe4431850cb342312bbe5b56
parentbb71e31757ada3017707a61fa74e71c18b5b6586 (diff)
downloadffmpeg-2a2a98c0d19f8f86876b7f65671d3c9d700385bb.tar.gz
* 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
-rw-r--r--libavcodec/Makefile3
1 files changed, 2 insertions, 1 deletions
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