File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,8 @@ pub fn build(b: *std.Build) void {
13
13
pub fn emccPath (b : * std.Build ) []const u8 {
14
14
return std .fs .path .join (b .allocator , &.{
15
15
b .dependency ("emsdk" , .{}).path ("" ).getPath (b ),
16
- "upstream/emscripten/" ,
16
+ "upstream" ,
17
+ "emscripten" ,
17
18
switch (builtin .target .os .tag ) {
18
19
.windows = > "emcc.bat" ,
19
20
else = > "emcc" ,
@@ -24,7 +25,8 @@ pub fn emccPath(b: *std.Build) []const u8 {
24
25
pub fn emrunPath (b : * std.Build ) []const u8 {
25
26
return std .fs .path .join (b .allocator , &.{
26
27
b .dependency ("emsdk" , .{}).path ("" ).getPath (b ),
27
- "upstream/emscripten/" ,
28
+ "upstream" ,
29
+ "emscripten" ,
28
30
switch (builtin .target .os .tag ) {
29
31
.windows = > "emrun.bat" ,
30
32
else = > "emrun" ,
@@ -35,7 +37,10 @@ pub fn emrunPath(b: *std.Build) []const u8 {
35
37
pub fn htmlPath (b : * std.Build ) []const u8 {
36
38
return std .fs .path .join (b .allocator , &.{
37
39
b .dependency ("emsdk" , .{}).path ("" ).getPath (b ),
38
- "upstream/emscripten/src/shell.html" ,
40
+ "upstream" ,
41
+ "emscripten" ,
42
+ "src" ,
43
+ "shell.html" ,
39
44
}) catch unreachable ;
40
45
}
41
46
You can’t perform that action at this time.
0 commit comments