Skip to content

Commit

Permalink
compatible with latest zig
Browse files Browse the repository at this point in the history
Signed-off-by: Tw <[email protected]>
  • Loading branch information
tw4452852 committed Sep 29, 2024
1 parent d2a0d46 commit 9e571a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ fn create_vmlinux(b: *std.Build, libbpf: *std.Build.Step.Compile, vmlinux_bin: ?
.target = target,
.optimize = optimize,
});
zigify.addIncludeDir("src/vmlinux_dumper");
zigify.addIncludePath(b.path("src/vmlinux_dumper"));
return b.addModule("vmlinux", .{ .root_source_file = zigify.getOutput() });
}

Expand Down

0 comments on commit 9e571a6

Please sign in to comment.