build: fix test build
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
d2179e8f2c
commit
09c01a79b0
1 changed files with 1 additions and 0 deletions
|
|
@ -301,6 +301,7 @@ pub fn build(b: *std.Build) !void {
|
||||||
unit_tests.root_module.addImport(e.key_ptr.*, e.value_ptr.*);
|
unit_tests.root_module.addImport(e.key_ptr.*, e.value_ptr.*);
|
||||||
}
|
}
|
||||||
addPaths(&unit_tests.root_module);
|
addPaths(&unit_tests.root_module);
|
||||||
|
link(b, unit_tests, &unit_tests.root_module);
|
||||||
|
|
||||||
// Linux gamemode requires libc.
|
// Linux gamemode requires libc.
|
||||||
if (target.result.os.tag == .linux) unit_tests.root_module.link_libc = true;
|
if (target.result.os.tag == .linux) unit_tests.root_module.link_libc = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue