summaryrefslogtreecommitdiff
path: root/sysroot.sh
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2019-05-19 14:40:15 -0700
committerJay Freeman (saurik) <saurik@saurik.com>2019-05-19 14:40:15 -0700
commit533d9675271212f948b4284471b7be15d3a56d99 (patch)
tree1e0431bc61be7be56f442c54634a746b203eb6d4 /sysroot.sh
parent34424c32c60c9f4ccbcce02e948da87045c1cc8c (diff)
Make Cydia compile "out of the box" on Xcode 10.2.
Diffstat (limited to 'sysroot.sh')
-rwxr-xr-xsysroot.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysroot.sh b/sysroot.sh
index a124baa..469e14f 100755
--- a/sysroot.sh
+++ b/sysroot.sh
@@ -107,4 +107,4 @@ wget --no-check-certificate -O CoreFoundation/CFUniChar.h "https://opensource.ap
mkdir -p WebCore
wget --no-check-certificate -O WebCore/WebCoreThread.h "https://opensource.apple.com/source/WebCore/WebCore-658.28/wak/WebCoreThread.h"
-ln -s /System/Library/Frameworks/IOKit.framework/Headers IOKit
+ln -s "$(xcodebuild -sdk macosx -version Path)"/System/Library/Frameworks/IOKit.framework/Headers IOKit