summaryrefslogtreecommitdiffstats
path: root/libswscale/Makefile
diff options
context:
space:
mode:
authorlucabe <lucabe@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-12-20 13:09:29 +0000
committerlucabe <lucabe@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-12-20 13:09:29 +0000
commit685e04e0806f85d99e1677aa19a05beb8641cbf7 (patch)
tree1e816aa8fc8da128acf3205b5d582e9033462d08 /libswscale/Makefile
parenteafcd1de8f7d3e81eba5299e4f35a1f6bf1566dc (diff)
downloadmpv-685e04e0806f85d99e1677aa19a05beb8641cbf7.tar.bz2
mpv-685e04e0806f85d99e1677aa19a05beb8641cbf7.tar.xz
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. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21699 b3059339-0415-0410-9bf9-f77b7e298cf2
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