Don't declare -lm as a dependency of swscale-example.
authorDiego Biurrun <diego@biurrun.de>
Thu, 26 Apr 2007 15:14:12 +0000 (15:14 +0000)
committerDiego Biurrun <diego@biurrun.de>
Thu, 26 Apr 2007 15:14:12 +0000 (15:14 +0000)
Originally committed as revision 23140 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

libswscale/Makefile

index a1c25a7..f6adf2a 100644 (file)
@@ -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