diff options
author | Luca Abeni <lucabe72@email.it> | 2006-12-20 13:09:29 +0000 |
---|---|---|
committer | Luca Abeni <lucabe72@email.it> | 2006-12-20 13:09:29 +0000 |
commit | 9bde778e7362d42885f76d32dd77957a23891798 (patch) | |
tree | fd6a00a2bdf87affe071afe436c08eba6102cf65 /libswscale/Makefile | |
parent | ff8dc81b5b9e3c0ecb45baf7e9769b43ef0efadf (diff) | |
download | ffmpeg-9bde778e7362d42885f76d32dd77957a23891798.tar.gz |
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
Diffstat (limited to 'libswscale/Makefile')
-rw-r--r-- | libswscale/Makefile | 7 |
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 |