From c36bd2866a2f4b46dc53931d5550cf5a0228d6ed Mon Sep 17 00:00:00 2001
From: Diego Biurrun <diego@biurrun.de>
Date: Thu, 26 Apr 2007 15:14:12 +0000
Subject: [PATCH] Don't declare -lm as a dependency of swscale-example.

Originally committed as revision 23140 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
---
 libswscale/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/libswscale/Makefile b/libswscale/Makefile
index a1c25a76a44..f6adf2a5142 100644
--- a/libswscale/Makefile
+++ b/libswscale/Makefile
@@ -18,7 +18,8 @@ include ../common.mak
 
 cs_test: cs_test.o $(LIB)
 
-swscale-example: swscale-example.o $(LIB) -lm
+swscale-example: swscale-example.o $(LIB)
+swscale-example: EXTRALIBS += -lm
 
 clean::
 	rm -f cs_test swscale-example
-- 
GitLab