build: fix "error: the linker needs one or more objects to link"
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
e3a124f2b1
commit
12e69752d3
1 changed files with 1 additions and 0 deletions
|
|
@ -237,6 +237,7 @@ pub fn build(b: *std.Build) !void {
|
||||||
if (want_libs) {
|
if (want_libs) {
|
||||||
const lib = b.addStaticLibrary(.{
|
const lib = b.addStaticLibrary(.{
|
||||||
.name = "mach-sysgpu",
|
.name = "mach-sysgpu",
|
||||||
|
.root_source_file = b.path("src/main.zig"),
|
||||||
.target = target,
|
.target = target,
|
||||||
.optimize = optimize,
|
.optimize = optimize,
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue