Fix imgresample-test compilation.
authorDiego Biurrun <diego@biurrun.de>
Thu, 5 Oct 2006 01:28:25 +0000 (01:28 +0000)
committerDiego Biurrun <diego@biurrun.de>
Thu, 5 Oct 2006 01:28:25 +0000 (01:28 +0000)
Originally committed as revision 6560 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/Makefile

index 5d68e9c..fbf8e0b 100644 (file)
@@ -440,7 +440,7 @@ cpuid_test: i386/cputest.c
 # testing progs
 
 imgresample-test: imgresample.c $(LIB)
-       $(CC) $(CFLAGS) -DTEST -o $@ $^ -lm
+       $(CC) $(CFLAGS) -DTEST -o $@ $^ $(EXTRALIBS)
 
 dct-test: dct-test.o fdctref.o $(LIB)
        $(CC) -o $@ $^ $(EXTRALIBS)