File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -121,7 +121,10 @@ merge_toolchains() {
121
121
rsync -v -a $TARGET_TOOLCHAIN_SDK /usr/bin/ $DIST_TOOLCHAIN_SDK /usr/bin/
122
122
123
123
# Replace absolute sysroot path with relative path
124
- sed -i " " -e " s@\" .*/include@\" ../../../../share/wasi-sysroot/include@g" $DIST_TOOLCHAIN_SDK /usr/lib/swift/wasi/wasm32/wasi.modulemap
124
+ sed -i.bak -e " s@\" .*/include@\" ../../../../share/wasi-sysroot/include@g" " $DIST_TOOLCHAIN_SDK /usr/lib/swift/wasi/wasm32/wasi.modulemap"
125
+ rm " $DIST_TOOLCHAIN_SDK /usr/lib/swift/wasi/wasm32/wasi.modulemap"
126
+ sed -i.bak -e " s@\" .*/include@\" ../../../../share/wasi-sysroot/include@g" " $DIST_TOOLCHAIN_SDK /usr/lib/swift_static/wasi/wasm32/wasi.modulemap"
127
+ rm " $DIST_TOOLCHAIN_SDK /usr/lib/swift_static/wasi/wasm32/wasi.modulemap"
125
128
}
126
129
127
130
create_darwin_info_plist () {
You can’t perform that action at this time.
0 commit comments