This file contains hidden or 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
# =========================================================================================================== | |
# Enable bitcode for iOS. Updated iOS support to the minimum of iOS 10.3 | |
# Added architecture specific --host flag to mark target platform for output library during cross compilation | |
# =========================================================================================================== | |
rm -rf install_* | |
rm -rf output-* | |
#build x86_64 | |
ARCH="x86_64" | |
./configure --prefix=`pwd`/install_x86_64 CFLAGS="-Ofast -fembed-bitcode=marker -mios-version-min=10.3" LDFLAGS="-flto" CC="xcrun -sdk iphonesimulator clang -arch x86_64" --disable-shared --enable-static --host="${ARCH}-apple-darwin" |
This file contains hidden or 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
#!/bin/bash | |
# Compile-Freetype-For-iOS | |
# Original Script https://github.com/jkyin/Compile-Freetype-For-iOS/blob/master/build_freetype.sh | |
# Revised by: l'L'l | |
# | |
# New Features Include: auto download latest version, fixed toolchain locations, other various tweeks | |
# | |
# The MIT License (MIT) | |
# Copyright (c) 2016 l'L'l |