{sysjs,mach}: correctly pass sysjs dependency to sdk
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
f1ae31ae86
commit
2ba7e48ac2
3 changed files with 4 additions and 2 deletions
|
|
@ -1,5 +1,4 @@
|
|||
const std = @import("std");
|
||||
const sysjs = @import("libs/mach-sysjs/build.zig");
|
||||
|
||||
pub fn Sdk(comptime deps: anytype) type {
|
||||
return struct {
|
||||
|
|
@ -8,7 +7,7 @@ pub fn Sdk(comptime deps: anytype) type {
|
|||
pub const pkg = std.build.Pkg{
|
||||
.name = "sysaudio",
|
||||
.source = .{ .path = thisDir() ++ "/src/main.zig" },
|
||||
.dependencies = &.{ sysjs.pkg, soundio_pkg },
|
||||
.dependencies = &.{ deps.sysjs.pkg, soundio_pkg },
|
||||
};
|
||||
|
||||
pub const soundio_pkg = std.build.Pkg{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue