From 9bde778e7362d42885f76d32dd77957a23891798 Mon Sep 17 00:00:00 2001 From: Luca Abeni Date: Wed, 20 Dec 2006 13:09:29 +0000 Subject: Allow to compile swscale's non-SIMD code under the LGPL license. Since mplayer always define CONFIG_GPL, this commit should not change anything for mplayer. Originally committed as revision 21699 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale --- libswscale/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'libswscale/Makefile') 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 -- cgit v1.2.3