Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fix SDK locator to include Xcode 10.7 and 10.8

  • Loading branch information...
commit 78950d2533b0dc9f41c292188e2393017af85982 1 parent 7d202d6
Andrew Savory authored September 23, 2012

Showing 1 changed file with 13 additions and 7 deletions. Show diff stats Hide diff stats

  1. 20  core/combo/HOST_darwin-x86.mk
20  core/combo/HOST_darwin-x86.mk
@@ -33,16 +33,22 @@ sdks_root := $(platforms_root)/MacOSX.platform/Developer/SDKs
33 33
 sdks_old := $(wildcard $sdks_root_old/*.sdk)
34 34
 sdks := $(wildcard $sdks_root/*.sdk)
35 35
 
36  
-sdk_root := $(sdks_root)/MacOSX10.6.sdk
  36
+sdk_root := $(sdks_root)/MacOSX10.8.sdk
37 37
 ifeq ($(wildcard $(sdk_root)),)
38  
-  sdk_root := $(sdks_root_old)/MacOSX10.6.sdk
  38
+  sdk_root := $(sdks_root)/MacOSX10.7.sdk
39 39
   ifeq ($(wildcard $(sdk_root)),)
40  
-    sdk_root := $(sdks_root_old)/MacOSX10.5.sdk
  40
+    sdk_root := $(sdks_root)/MacOSX10.6.sdk
41 41
     ifeq ($(wildcard $(sdk_root)),)
42  
-      $(warning ***********************************************************)
43  
-      $(warning * No 10.6 or 10.5 SDK found, do you have Xcode installed? *)
44  
-      $(warning ***********************************************************)
45  
-      sdk_root :=
  42
+      sdk_root := $(sdks_root_old)/MacOSX10.6.sdk
  43
+      ifeq ($(wildcard $(sdk_root)),)
  44
+        sdk_root := $(sdks_root_old)/MacOSX10.5.sdk
  45
+        ifeq ($(wildcard $(sdk_root)),)
  46
+          $(warning ***********************************************************)
  47
+          $(warning * No 10.5 -- 10.8 SDK found, do you have Xcode installed? *)
  48
+          $(warning ***********************************************************)
  49
+          sdk_root :=
  50
+        endif
  51
+      endif
46 52
     endif
47 53
   endif
48 54
 endif

0 notes on commit 78950d2

Please sign in to comment.
Something went wrong with that request. Please try again.