1 libvpx's configure script hard-codes the SDK location of previous Xcode release in the /Developer folder. However, starting with Xcode 4.3, the SDKs moved to /Applications/Xcode.app/blabla
2 VLC's contrib system is clever enough to detect this, but libvpx fails miserably. However, they are providing a work-around for iOS and Android, which is expanded by this patch.
4 diff -ru libvpx/build/make/configure.sh libvpx/build/make/configure.sh
5 --- libvpx/build/make/configure.sh 2012-06-08 10:26:47.000000000 +0200
6 +++ libvpx-fixed/build/make/configure.sh 2012-06-08 10:26:07.000000000 +0200
8 if [ -d "/Developer/SDKs/MacOSX10.7.sdk" ]; then
9 osx_sdk_dir="/Developer/SDKs/MacOSX10.7.sdk"
11 + if [ -d "${sdk_path}" ]; then
12 + osx_sdk_dir=${sdk_path}