DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
PROG = ffmpeg
-PAK_VER = 2
+PAK_VER = 4
-DEPS = "sdl lame libvorbis xvid"
+DEPS = "ffmpeg-libs sdl lame libvorbis xvid"
+
+# Don't use PIC for libavcodec
+CFLAGS += -fno-PIC -fno-strict-aliasing
###############################################################################
# Top-level Rules
ln -s $(THISAPP) /usr/src/ffmpeg
cd $(DIR_SRC)/ffmpeg && ./configure --prefix=/usr \
--enable-shared \
- --enable-postproc \
- --enable-gpl
+ --enable-postproc \
+ --enable-pthreads \
+ --enable-gpl
cd $(DIR_SRC)/ffmpeg && make $(MAKETUNING) $(EXTRA_MAKE)
cd $(DIR_SRC)/ffmpeg && make install
cd $(DIR_SRC)/ffmpeg && make install-libs