Merge pull request #346 from joshuawarner32/master

add detection for iOS 8 SDK
This commit is contained in:
Joel Dice 2014-10-06 09:15:23 -06:00
commit c1ad17b62e

View File

@ -683,7 +683,8 @@ ifeq ($(kernel),darwin)
sdk-dir = $(platform-dir)/Developer/SDKs
ios-version := $(shell \
if test -d $(sdk-dir)/$(target)7.1.sdk; then echo 7.1; \
if test -d $(sdk-dir)/$(target)8.0.sdk; then echo 8.0; \
elif test -d $(sdk-dir)/$(target)7.1.sdk; then echo 7.1; \
elif test -d $(sdk-dir)/$(target)7.0.sdk; then echo 7.0; \
elif test -d $(sdk-dir)/$(target)6.1.sdk; then echo 6.1; \
elif test -d $(sdk-dir)/$(target)6.0.sdk; then echo 6.0; \