mirror of
https://github.com/thunderbrewhq/bc.git
synced 2025-12-12 10:02:30 +00:00
fix(build): link headers properly
This commit is contained in:
parent
937e283e0b
commit
462eadcec5
1 changed files with 1 additions and 1 deletions
|
|
@ -21,7 +21,6 @@ pub fn build(b: *std.Build) void {
|
||||||
bc.linkLibrary(mem.artifact("mem"));
|
bc.linkLibrary(mem.artifact("mem"));
|
||||||
|
|
||||||
bc.addIncludePath(b.path("."));
|
bc.addIncludePath(b.path("."));
|
||||||
bc.addIncludePath(mem.path("."));
|
|
||||||
|
|
||||||
bc.addCSourceFiles(.{
|
bc.addCSourceFiles(.{
|
||||||
.files = &.{
|
.files = &.{
|
||||||
|
|
@ -71,6 +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(bc);
|
bc_test_exe.linkLibrary(bc);
|
||||||
|
|
||||||
bc_test_exe.addIncludePath(b.path("."));
|
bc_test_exe.addIncludePath(b.path("."));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue