Skip to content

Commit daa99a2

Browse files
bfredlnatecraddock
authored andcommitted
fix generation of lj_folddef.h in luajit build
for reference, in LuaJIT src/Makefile: ``` lj_folddef.h: $(BUILDVM_T) lj_opt_fold.c $(E) "BUILDVM $@" $(Q)$(BUILDVM_X) -m folddef -o $@ lj_opt_fold.c ```
1 parent 4322c27 commit daa99a2

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

build/luajit.zig

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,9 +130,7 @@ pub fn configure(b: *Build, target: Build.ResolvedTarget, optimize: std.builtin.
130130
const buildvm_folddef = b.addRunArtifact(buildvm);
131131
buildvm_folddef.addArgs(&.{ "-m", "folddef", "-o" });
132132
const folddef_header = buildvm_folddef.addOutputFileArg("lj_folddef.h");
133-
for (luajit_lib) |file| {
134-
buildvm_folddef.addFileArg(upstream.path(file));
135-
}
133+
buildvm_folddef.addFileArg(upstream.path("src/lj_opt_fold.c"));
136134

137135
const buildvm_ljvm = b.addRunArtifact(buildvm);
138136
buildvm_ljvm.addArg("-m");

0 commit comments

Comments
 (0)