Skip to content

Commit

Permalink
Bundle lib/swift-5.5
Browse files Browse the repository at this point in the history
  • Loading branch information
kabiroberai authored Nov 9, 2022
1 parent f670b15 commit 60f0d1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion create-toolchain
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export -f link_file
find linux/host \( -path 'linux/host/bin/*' -o -path 'linux/host/local/*' -o -path 'linux/host/share/*' -o -path 'linux/host/lib/*' \) -and -not -type d -print0 | xargs -0 -I{} bash -c 'link_file "$@"' _ {}
# ...but replace some components with mac ones...
rm -rf linux/iphone/lib/swift{,_static}
cp -a "${mac_toolchain}"/usr/lib/{swift,swift-5.0,arc} linux/iphone/lib/
cp -a "${mac_toolchain}"/usr/lib/{swift,swift-5.0,swift-5.5,arc} linux/iphone/lib/
cp -a "${mac_toolchain}"/usr/lib/clang/*/lib/* linux/iphone/lib/clang/*/lib/
cp -a "${mac_toolchain}"/usr/include linux/iphone/include
# ...but-but replace the mac lib/swift/clang symlink with the linux one
Expand Down

0 comments on commit 60f0d1a

Please # to comment.