Created
August 20, 2014 15:07
-
-
Save lu-zero/9400fc7b2fba1f35d118 to your computer and use it in GitHub Desktop.
Building libav for ios/arm64
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
../configure \ | |
--cc=`xcrun -f --sdk iphoneos7.1 clang` \ | |
--arch=aarch64 \ | |
--cpu=generic \ | |
--sysroot=`xcrun --sdk iphoneos7.1 --show-sdk-path` \ | |
--target-os=darwin \ | |
--extra-cflags='-arch arm64' \ | |
--extra-ldflags='-arch arm64 -miphoneos-version-min=7.0' \ | |
--enable-cross-compile |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
git clone git://git.libav.org/libav
mkdir .arm64 && cd .arm64