summaryrefslogtreecommitdiffstats
path: root/contrib/Jamfile
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/Jamfile')
-rw-r--r--contrib/Jamfile8
1 files changed, 7 insertions, 1 deletions
diff --git a/contrib/Jamfile b/contrib/Jamfile
index 643840386..3271a46ee 100644
--- a/contrib/Jamfile
+++ b/contrib/Jamfile
@@ -44,7 +44,12 @@ rule LibAvCodec
{
if $(OS) = MACOSX && $(OSPLAT) = X86
{
- FFMPEG_OPTIONS = --disable-mmx ;
+ FFMPEG_OPTIONS = --enable-memalign-hack ;
+ FFMPEG_PATCH = "patch -p1 < ../ffmpeg.patch" ;
+ }
+ else
+ {
+ FFMPEG_PATCH = true ;
}
Depends $(<) : $(>) ;
Depends lib : $(<) ;
@@ -53,6 +58,7 @@ actions LibAvCodec
{
cd `dirname $(>)` && CONTRIB=`pwd` &&
rm -rf ffmpeg && tar xzf ffmpeg.tar.gz && cd ffmpeg &&
+ $(FFMPEG_PATCH) &&
./configure --prefix=$CONTRIB $(FFMPEG_OPTIONS) --enable-gpl &&
make -C libavcodec && make -C libavutil &&
make -C libavcodec installlib && make -C libavutil installlib &&