summaryrefslogtreecommitdiffstats
path: root/libswscale/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libswscale/Makefile')
-rw-r--r--libswscale/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/libswscale/Makefile b/libswscale/Makefile
index 82e9bfc025..377ea80a7e 100644
--- a/libswscale/Makefile
+++ b/libswscale/Makefile
@@ -9,10 +9,15 @@ endif
EXTRALIBS := -L$(BUILD_ROOT)/libavutil -lavutil$(BUILDSUF) $(EXTRALIBS)
-OBJS= swscale.o rgb2rgb.o yuv2rgb.o
+OBJS= swscale.o rgb2rgb.o
ifeq ($(TARGET_ALTIVEC),yes)
OBJS+= yuv2rgb_altivec.o
endif
+ifeq ($(CONFIG_GPL),yes)
+OBJS+= yuv2rgb.o
+else
+OBJS+= yuv2rgb_init.o
+endif
HEADERS = swscale.h rgb2rgb.h