X-Git-Url: https://git.saurik.com/cydia.git/blobdiff_plain/f9ba524a8e333388da0d3be1ca70240340a2b32b..36a20e148d74e029097ee6728ec9d443b9a2f022:/makefile diff --git a/makefile b/makefile index fbd040c4..eae4fd3a 100644 --- a/makefile +++ b/makefile @@ -1,6 +1,7 @@ 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 :=