Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix SDK locator to include Xcode 10.7 and 10.8

  • Loading branch information...
commit 78950d2533b0dc9f41c292188e2393017af85982 1 parent 7d202d6
@savs authored
Showing with 13 additions and 7 deletions.
  1. +13 −7 core/combo/HOST_darwin-x86.mk
View
20 core/combo/HOST_darwin-x86.mk
@@ -33,16 +33,22 @@ sdks_root := $(platforms_root)/MacOSX.platform/Developer/SDKs
sdks_old := $(wildcard $sdks_root_old/*.sdk)
sdks := $(wildcard $sdks_root/*.sdk)
-sdk_root := $(sdks_root)/MacOSX10.6.sdk
+sdk_root := $(sdks_root)/MacOSX10.8.sdk
ifeq ($(wildcard $(sdk_root)),)
- sdk_root := $(sdks_root_old)/MacOSX10.6.sdk
+ sdk_root := $(sdks_root)/MacOSX10.7.sdk
ifeq ($(wildcard $(sdk_root)),)
- sdk_root := $(sdks_root_old)/MacOSX10.5.sdk
+ sdk_root := $(sdks_root)/MacOSX10.6.sdk
ifeq ($(wildcard $(sdk_root)),)
- $(warning ***********************************************************)
- $(warning * No 10.6 or 10.5 SDK found, do you have Xcode installed? *)
- $(warning ***********************************************************)
- sdk_root :=
+ sdk_root := $(sdks_root_old)/MacOSX10.6.sdk
+ ifeq ($(wildcard $(sdk_root)),)
+ sdk_root := $(sdks_root_old)/MacOSX10.5.sdk
+ ifeq ($(wildcard $(sdk_root)),)
+ $(warning ***********************************************************)
+ $(warning * No 10.5 -- 10.8 SDK found, do you have Xcode installed? *)
+ $(warning ***********************************************************)
+ sdk_root :=
+ endif
+ endif
endif
endif
endif
Please sign in to comment.
Something went wrong with that request. Please try again.