Merge pull request #376 from joshuawarner32/8.1-ios-sdk

add support for 8.1 SDK
This commit is contained in:
Joel Dice 2014-12-05 14:37:20 -07:00
commit 30359563a1

View File

@ -743,7 +743,8 @@ ifeq ($(kernel),darwin)
sdk-dir = $(platform-dir)/Developer/SDKs
ios-version := $(shell \
if test -d $(sdk-dir)/$(target)8.0.sdk; then echo 8.0; \
if test -d $(sdk-dir)/$(target)8.1.sdk; then echo 8.1; \
elif 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; \