core: correct standalone build
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
f7277441a2
commit
2094e59627
2 changed files with 6 additions and 1 deletions
|
|
@ -83,7 +83,7 @@ fn testStep(b: *Builder, mode: std.builtin.Mode, target: CrossTarget) *std.build
|
|||
}
|
||||
|
||||
fn buildSharedLib(b: *Builder, mode: std.builtin.Mode, target: CrossTarget, options: Options) !*std.build.LibExeObjStep {
|
||||
const lib = b.addSharedLibrary("mach", "src/platform/libmachcore.zig", .unversioned);
|
||||
const lib = b.addSharedLibrary("machcore", "src/platform/libmachcore.zig", .unversioned);
|
||||
lib.setTarget(target);
|
||||
lib.setBuildMode(mode);
|
||||
lib.main_pkg_path = "src/";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue