Fixed build of XviD on MacIntel
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@18
b64f7644-9d1e-0410-96f1-
a4d463321fa5
# libxvidcore
rule LibXvidCore
{
+ if $(OS) = MACOSX && $(OSPLAT) = X86
+ {
+ XVID_OPTIONS = --disable-assembly ;
+ }
Depends $(<) : $(>) ;
Depends lib : $(<) ;
}
{
cd `dirname $(>)` && CONTRIB=`pwd` &&
rm -rf xvidcore && tar xzf xvidcore.tar.gz &&
- cd xvidcore/build/generic/ && ./configure && make libxvidcore.a &&
+ cd xvidcore/build/generic/ && ./configure $(XVID_OPTIONS) &&
+ make libxvidcore.a &&
cp ./=build/libxvidcore.a $CONTRIB/lib/ &&
cp ../../src/xvid.h $CONTRIB/include/ &&
strip -S $CONTRIB/lib/libxvidcore.a
-http://download.m0k.org/handbrake/contrib/x264-r305.tar.gz
+http://download.m0k.org/handbrake/contrib/x264-r400.tar.gz