@@ -175,7 +175,10 @@ fn buildLua(b: *Build, target: Build.ResolvedTarget, optimize: std.builtin.Optim
175
175
};
176
176
177
177
lib .addCSourceFiles (.{
178
- .dependency = upstream ,
178
+ .root = .{ .dependency = .{
179
+ .dependency = upstream ,
180
+ .sub_path = "" ,
181
+ } },
179
182
.files = lua_source_files ,
180
183
.flags = & flags ,
181
184
});
@@ -222,7 +225,10 @@ fn buildLuau(b: *Build, target: Build.ResolvedTarget, optimize: std.builtin.Opti
222
225
};
223
226
224
227
lib .addCSourceFiles (.{
225
- .dependency = upstream ,
228
+ .root = .{ .dependency = .{
229
+ .dependency = upstream ,
230
+ .sub_path = "" ,
231
+ } },
226
232
.files = & luau_source_files ,
227
233
.flags = & flags ,
228
234
});
@@ -314,7 +320,10 @@ fn buildLuaJIT(b: *Build, target: Build.ResolvedTarget, optimize: std.builtin.Op
314
320
buildvm .step .dependOn (& genversion_run .step );
315
321
316
322
buildvm .addCSourceFiles (.{
317
- .dependency = upstream ,
323
+ .root = .{ .dependency = .{
324
+ .dependency = upstream ,
325
+ .sub_path = "" ,
326
+ } },
318
327
.files = &.{ "src/host/buildvm_asm.c" , "src/host/buildvm_fold.c" , "src/host/buildvm_lib.c" , "src/host/buildvm_peobj.c" , "src/host/buildvm.c" },
319
328
});
320
329
@@ -403,7 +412,10 @@ fn buildLuaJIT(b: *Build, target: Build.ResolvedTarget, optimize: std.builtin.Op
403
412
lib .addIncludePath (folddef_header .dirname ());
404
413
405
414
lib .addCSourceFiles (.{
406
- .dependency = upstream ,
415
+ .root = .{ .dependency = .{
416
+ .dependency = upstream ,
417
+ .sub_path = "" ,
418
+ } },
407
419
.files = & luajit_vm ,
408
420
});
409
421
0 commit comments