Skip to content

Commit

Permalink
build: fix "error: the linker needs one or more objects to link"
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
  • Loading branch information
slimsag committed Oct 9, 2024
1 parent e3a124f commit 12e6975
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,7 @@ pub fn build(b: *std.Build) !void {
if (want_libs) {
const lib = b.addStaticLibrary(.{
.name = "mach-sysgpu",
.root_source_file = b.path("src/main.zig"),
.target = target,
.optimize = optimize,
});
Expand Down

0 comments on commit 12e6975

Please sign in to comment.