We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6bbf3f3 commit 8798704Copy full SHA for 8798704
utils/webassembly/build-foundation.sh
@@ -20,3 +20,11 @@ cmake -G Ninja \
20
21
ninja -v
22
ninja -v install
23
+
24
+# On macOS the target CoreFoundation shadows the CoreFoundation suppplied by Xcode.
25
+# On Linux though there's no system CoreFoundation, its headers have to be shipped
26
+# in the installable archive and serve for both host and target.
27
+if [[ "$(uname)" == "Darwin" ]]; then
28
+ mv $DESTINATION_TOOLCHAIN/usr/lib/swift/CoreFoundation \
29
+ $DESTINATION_TOOLCHAIN/usr/lib/swift/wasi/wasm32/CoreFoundation
30
+fi
0 commit comments