-
-
Save incanus/8913d9783e3bc0bab17d to your computer and use it in GitHub Desktop.
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
#!/bin/sh | |
cd ../ | |
if [ ! -d 'mapnik-packaging' ]; then | |
git clone --depth=0 https://github.com/mapnik/mapnik-packaging.git | |
fi | |
cd mapnik-packaging/osx/ | |
export CXX11=true | |
(source iPhoneSimulator.sh; ./scripts/build_png.sh; \ | |
source MacOSX.sh; ./scripts/build_png.sh; \ | |
source iPhoneOS.sh; ./scripts/build_png.sh; \ | |
source iPhoneOSs.sh; ./scripts/build_png.sh; \ | |
source iPhoneOS64.sh; ./scripts/build_png.sh; \ | |
./scripts/make_universal.sh) | |
export UNIVERSAL_LIBS=`pwd`/out/build-cpp11-libcpp-universal/ | |
export PNG_INCLUDES=`pwd`/out/build-cpp11-libcpp-i386/ | |
cd ../../ | |
./configure --png-libpath=${UNIVERSAL_LIBS} --png-includes=${PNG_INCLUDES} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment