From dc9cc5ed85b8e596d27682923bae6ac254afda09 Mon Sep 17 00:00:00 2001
From: Diego Biurrun <diego@biurrun.de>
Date: Wed, 29 Mar 2006 10:59:09 +0000
Subject: [PATCH] EXTRALIBS already contains -lm, no need to add it explicitly.

Originally committed as revision 5240 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 libavcodec/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/Makefile b/libavcodec/Makefile
index 10bc45b9676..b1c57888413 100644
--- a/libavcodec/Makefile
+++ b/libavcodec/Makefile
@@ -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
-- 
GitLab