X-Git-Url: https://git.saurik.com/cydia.git/blobdiff_plain/252f30db1bdb676fa6b5bdc3a664541582c78b3a..c935a078d356d00f98bb418b44feaaaccf780210:/makefile diff --git a/makefile b/makefile index a4c70ba3..a0d3732b 100644 --- a/makefile +++ b/makefile @@ -13,8 +13,10 @@ gxx := $(shell xcrun --sdk iphoneos -f g++) cycc := $(gxx) sdk := $(shell xcodebuild -sdk iphoneos -version Path) +mac := $(shell xcodebuild -sdk macosx -version Path) + cycc += -isysroot $(sdk) -cycc += -idirafter /usr/include +cycc += -idirafter $(mac)/usr/include cycc += -F$(sdk)/System/Library/PrivateFrameworks cycc += -fmessage-length=0