Skip to content

Commit 80ec0a7

Browse files
[WASM] Replace absolute path in swift_static's wasi.modulemap
1 parent e2a9879 commit 80ec0a7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

utils/webassembly/build-toolchain.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ merge_toolchains() {
116116

117117
# Replace absolute sysroot path with relative path
118118
sed -i "" -e "s@\".*/include@\"../../../../share/wasi-sysroot/include@g" "$DIST_TOOLCHAIN_SDK/usr/lib/swift/wasi/wasm32/wasi.modulemap"
119+
sed -i "" -e "s@\".*/include@\"../../../../share/wasi-sysroot/include@g" "$DIST_TOOLCHAIN_SDK/usr/lib/swift_static/wasi/wasm32/wasi.modulemap"
119120
}
120121

121122
create_darwin_info_plist() {

0 commit comments

Comments
 (0)