fix(build): link mem properly

This commit is contained in:
phaneron 2024-07-03 14:54:24 -04:00
parent 462eadcec5
commit c1e81d4bff

View file

@ -70,7 +70,7 @@ pub fn build(b: *std.Build) void {
// Add system detection defines // Add system detection defines
system.add_defines(bc_test_exe); system.add_defines(bc_test_exe);
bc_test_exe.linkLibrary(mem); bc_test_exe.linkLibrary(mem.artifact("mem"));
bc_test_exe.linkLibrary(bc); bc_test_exe.linkLibrary(bc);
bc_test_exe.addIncludePath(b.path(".")); bc_test_exe.addIncludePath(b.path("."));