diff Makefile @ 2520:047f7bad4cbb libavcodec

01-makefile_fix_updated.patch Adds --enable-theora/--enable-vorbis/--enable-ogg to configure If compiled WITHOUT --enable-theora, native VP3 decoder is used patch by (Nilesh Bansal <nileshbansal gmail com>)
author michael
date Thu, 24 Feb 2005 15:18:02 +0000
parents fc23a5a86d97
children e55fcddd8392
line wrap: on
line diff
--- a/Makefile	Thu Feb 24 09:27:46 2005 +0000
+++ b/Makefile	Thu Feb 24 15:18:02 2005 +0000
@@ -118,10 +118,17 @@
 EXTRALIBS += -lmp3lame
 endif
 
-ifeq ($(CONFIG_VORBIS),yes)
+ifeq ($(CONFIG_LIBOGG),yes)
+EXTRALIBS += -logg
+ifeq ($(CONFIG_LIBVORBIS),yes)
 OBJS += oggvorbis.o
 EXTRALIBS += -lvorbis -lvorbisenc
 endif
+ifeq ($(CONFIG_LIBTHEORA), yes)
+OBJS += oggtheora.o
+EXTRALIBS += -ltheora
+endif
+endif
 
 ifeq ($(TARGET_GPROF),yes)
 CFLAGS+=-p