Can't compile LAME for iOS
问题 I'm trying to compile lame mp3 encoder as static library for iOS. I'd like to support all architectures including i686, armv6, armv7, armv7s and arm64. Here is my build script: #!/bin/bash DEVELOPER=`xcode-select -print-path` SDK_VERSION="7.1" mkdir build function build_lame() { make distclean ./configure \ CFLAGS="-isysroot ${DEVELOPER}/Platforms/${SDK}.platform/Developer/SDKs/${SDK}${SDK_VERSION}.sdk" \ CC="${DEVELOPER}/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch ${PLATFORM}