From: Jay Freeman (saurik) Date: Sat, 13 Oct 2018 22:13:37 +0000 (-0700) Subject: On new Xcode/macOS, /usr/include no longer exists. X-Git-Url: https://git.saurik.com/cydia.git/commitdiff_plain/c935a078d356d00f98bb418b44feaaaccf780210 On new Xcode/macOS, /usr/include no longer exists. --- 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