diff options
author | Zdenek Kabelac <kabi@informatics.muni.cz> | 2002-05-01 13:27:40 +0000 |
---|---|---|
committer | Zdenek Kabelac <kabi@informatics.muni.cz> | 2002-05-01 13:27:40 +0000 |
commit | 2a2a98c0d19f8f86876b7f65671d3c9d700385bb (patch) | |
tree | 948d2c1be6a606a1fe4431850cb342312bbe5b56 | |
parent | bb71e31757ada3017707a61fa74e71c18b5b6586 (diff) | |
download | ffmpeg-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/Makefile | 3 |
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 |