diff --git a/libswscale/Makefile b/libswscale/Makefile
index fc24208f8948c94e68b4fc9b998e8e622d7c8bfd..f8ed40828953ee938f03d9cb33c6d50de512c400 100644
--- a/libswscale/Makefile
+++ b/libswscale/Makefile
@@ -7,7 +7,7 @@ OBJS = rgb2rgb.o swscale.o
 
 OBJS-$(ARCH_BFIN)          +=  swscale_bfin.o yuv2rgb_bfin.o
 OBJS-$(CONFIG_GPL)         +=  yuv2rgb.o
-OBJS-$(CONFIG_MLIB)        +=  yuv2rgb_mlib.c
+OBJS-$(CONFIG_MLIB)        +=  yuv2rgb_mlib.o
 OBJS-$(HAVE_ALTIVEC)       +=  yuv2rgb_altivec.o
 OBJS-$(HAVE_VIS)           +=  yuv2rgb_vis.o