File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -115,8 +115,10 @@ merge_toolchains() {
115
115
rsync -v -a " $TARGET_TOOLCHAIN_SDK /usr/bin/" " $DIST_TOOLCHAIN_SDK /usr/bin/"
116
116
117
117
# Replace absolute sysroot path with relative path
118
- 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"
118
+ sed -i.bak -e " s@\" .*/include@\" ../../../../share/wasi-sysroot/include@g" " $DIST_TOOLCHAIN_SDK /usr/lib/swift/wasi/wasm32/wasi.modulemap"
119
+ rm " $DIST_TOOLCHAIN_SDK /usr/lib/swift/wasi/wasm32/wasi.modulemap"
120
+ sed -i.bak -e " s@\" .*/include@\" ../../../../share/wasi-sysroot/include@g" " $DIST_TOOLCHAIN_SDK /usr/lib/swift_static/wasi/wasm32/wasi.modulemap"
121
+ rm " $DIST_TOOLCHAIN_SDK /usr/lib/swift_static/wasi/wasm32/wasi.modulemap"
120
122
}
121
123
122
124
create_darwin_info_plist () {
You can’t perform that action at this time.
0 commit comments