EXTRALIBS already contains -lm, no need to add it explicitly.
authorDiego Biurrun <diego@biurrun.de>
Wed, 29 Mar 2006 10:59:09 +0000 (10:59 +0000)
committerDiego Biurrun <diego@biurrun.de>
Wed, 29 Mar 2006 10:59:09 +0000 (10:59 +0000)
Originally committed as revision 5240 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/Makefile

index 10bc45b..b1c5788 100644 (file)
@@ -452,7 +452,7 @@ cleanamrwbfloat:
 
 # api example program
 apiexample: apiexample.c $(LIB)
-       $(CC) $(CFLAGS) -o $@ $< $(LIB) $(LIBAVUTIL) $(EXTRALIBS) -lm
+       $(CC) $(CFLAGS) -o $@ $< $(LIB) $(LIBAVUTIL) $(EXTRALIBS)
 
 # cpuid test
 cpuid_test: i386/cputest.c