zimbatm / ffmpeg-static

Scripts to build ffmpeg with all the deps statically (webm + h264 included)
ISC License
502 stars 252 forks source link

fixes to work on OSX #9

Open stevedekorte opened 11 years ago

stevedekorte commented 11 years ago

To get it building on OSX 10.8 with Xcode 4.5 I had to:

add:

if [ -d "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk" ]; then osx_sdk_dir="/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk" fi

To of libvpx-v1.0.0/build/make/configure.sh

Change the includes in libvpx-v1.0.0/build/make/gen_asm_deps.sh to:

includes=$(LCALL=C egrep -i "include +\"[a-z0-9/]+.${sfx}" $srcfile |

Get the latest libyasm and install it.

And add --cc=clang to the ffmpeg configure line in build.sh

stevedekorte commented 11 years ago

FTM, thanks so much for putting this project up - it was a big help! :)

zimbatm commented 11 years ago

Thanks a lot @stevedekorte, I'm a big fan of your work.