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() {
115115 rsync -v -a " $TARGET_TOOLCHAIN_SDK /usr/bin/" " $DIST_TOOLCHAIN_SDK /usr/bin/"
116116
117117 # 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"
120122}
121123
122124create_darwin_info_plist () {
You can’t perform that action at this time.
0 commit comments