further escape transitive dependency hell
Helps hexops/mach#902 Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
6999d718a5
commit
dc63ee5460
2 changed files with 7 additions and 11 deletions
|
|
@ -117,7 +117,11 @@ pub const App = struct {
|
|||
});
|
||||
try deps.append(.{ .name = "sysaudio", .module = sysaudio.module(mach_sysaudio.builder, options.optimize, options.target) });
|
||||
|
||||
const app = try core.App.init(b, .{
|
||||
const mach_core = b.dependency("mach_core", .{
|
||||
.target = options.target,
|
||||
.optimize = options.optimize,
|
||||
});
|
||||
const app = try core.App.init(b, mach_core.builder, .{
|
||||
.name = options.name,
|
||||
.src = options.src,
|
||||
.target = options.target,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue