# HG changeset patch # User kabi # Date 1020259660 0 # Node ID ae9e9af0b6271d4b8fb7d29f62d09cb47b5cdec3 # Parent 3c5266cda02d9522f9fbc94f6812678a61c60323 * by Thomas Sailer: otherwise ffmpeg doesn't compile if shared libs are requested and mp3lame is selected... diff -r 3c5266cda02d -r ae9e9af0b627 Makefile --- 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