diff options
author | Gabriel Jacobo <gabomdq@gmail.com> | 2012-06-19 20:16:45 -0300 |
---|---|---|
committer | Gabriel Jacobo <gabomdq@gmail.com> | 2012-06-19 20:16:45 -0300 |
commit | 192f284bdd2074290066abe1b8aa01e260ebab10 (patch) | |
tree | 07a5865e2da0a230b8a91637fc056b48243214f4 /build-scripts | |
parent | aaaf916145c861ff4ad1a0cae570ab8f9972fd1a (diff) |
small improvements in the iosbuild.sh script
Diffstat (limited to 'build-scripts')
-rwxr-xr-x | build-scripts/iosbuild.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/build-scripts/iosbuild.sh b/build-scripts/iosbuild.sh index 0babfee024..eeb5716244 100755 --- a/build-scripts/iosbuild.sh +++ b/build-scripts/iosbuild.sh @@ -12,7 +12,7 @@ fi # SDK path XCODE_PATH=`xcode-select --print-path` if [ -z "$XCODE_PATH" ]; then - echo "Could not find XCode location" + echo "Could not find XCode location (use xcode-select -switch to set the correct path)" exit 1 fi @@ -250,8 +250,8 @@ if test x$merge = xyes; then sh $auxdir/mkinstalldirs build/$output cd build target=`find . -mindepth 4 -maxdepth 4 -type f -name '*.dylib' | head -1 | sed 's|.*/||'` - (lipo -create -o $output/libSDL2.a */build/.libs/libSDL2.a && - lipo -create -o $output/libSDL2main.a */build/libSDL2main.a && + (lipo -create -o $output/libSDL2.a armv6/build/.libs/libSDL2.a armv7/build/.libs/libSDL2.a i386/build/.libs/libSDL2.a && + lipo -create -o $output/libSDL2main.a armv6/build/libSDL2main.a armv7/build/libSDL2main.a i386/build/libSDL2main.a && cp -r armv6/include ios echo "Build complete!" && echo "Files can be found under the build/ios directory.") || exit 4 |