1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-14 14:24:10 +02:00

Handle spaces in path to wasm rt lib

This commit is contained in:
Brian Fiete 2022-04-16 13:55:35 -07:00
parent 0ee3259eb1
commit 166ff4d5e3

View file

@ -9977,10 +9977,11 @@ namespace IDE
case .Linux: case .Linux:
newString.AppendF("./{} -lpthread -ldl -Wl,-rpath -Wl,$ORIGIN", rtName); newString.AppendF("./{} -lpthread -ldl -Wl,-rpath -Wl,$ORIGIN", rtName);
case .Wasm: case .Wasm:
newString.Append("\"");
newString.Append(mInstallDir); newString.Append(mInstallDir);
newString.Append("Beef", IDEApp.sRTVersionStr, "RT"); newString.Append("Beef", IDEApp.sRTVersionStr, "RT");
newString.Append((Workspace.PlatformType.GetPtrSizeByName(gApp.mPlatformName) == 4) ? "32" : "64"); newString.Append((Workspace.PlatformType.GetPtrSizeByName(gApp.mPlatformName) == 4) ? "32" : "64");
newString.Append("_wasm.a"); newString.Append("_wasm.a\"");
default: default:
} }