Skip to content

Commit 9011e9d

Browse files
committed
Fix CoreFoundation headers on Linux
1 parent ba6d212 commit 9011e9d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

utils/webassembly/build-foundation.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ ninja -v install
3030
if [[ "$(uname)" == "Darwin" ]]; then
3131
mv $DESTINATION_TOOLCHAIN/usr/lib/swift_static/CoreFoundation \
3232
$DESTINATION_TOOLCHAIN/usr/lib/swift/wasi/wasm32/CoreFoundation
33+
else
34+
mv $DESTINATION_TOOLCHAIN/usr/lib/swift_static/CoreFoundation \
35+
$DESTINATION_TOOLCHAIN/usr/lib/swift/CoreFoundation
3336
fi
3437

3538
# .swiftdoc and .swiftmodule files should live in `swift`, not in `swift_static`

0 commit comments

Comments
 (0)