]> git.saurik.com Git - cydia.git/commitdiff
Use the latest available SDK: I now trust that they work.
authorJay Freeman (saurik) <saurik@saurik.com>
Sun, 27 Feb 2011 06:28:59 +0000 (22:28 -0800)
committerJay Freeman (saurik) <saurik@saurik.com>
Mon, 7 Mar 2011 10:41:24 +0000 (02:41 -0800)
makefile

index fbd040c4a5ea151490626b662ad33c0236872740..eae4fd3ad75c3e5324dfe71f981d6fee89cc58d6 100644 (file)
--- a/makefile
+++ b/makefile
@@ -1,6 +1,7 @@
 sdks := /Developer/Platforms/iPhoneOS.platform/Developer/SDKs
 sdks := /Developer/Platforms/iPhoneOS.platform/Developer/SDKs
+ioss := $(sort $(patsubst $(sdks)/iPhoneOS%.sdk,%,$(wildcard $(sdks)/iPhoneOS*.sdk)))
 
 
-ios := 4.0
+ios := $(word $(words $(ioss)),$(ioss))
 gcc := 4.2
 
 flags := 
 gcc := 4.2
 
 flags :=