Skip to content

Commit

Permalink
add missing pgsys
Browse files Browse the repository at this point in the history
  • Loading branch information
urso committed Jun 21, 2024
1 parent 692013a commit 954c11e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,12 @@ pub fn build(b: *std.Build) void {
.link_libc = true,
.link_allow_shlib_undefined = true,
});
tests.lib.root_module.addOptions("build_options", test_options);

tests.lib.root_module.addIncludePath(b.path("./src/pgzx/c/include/"));

tests.lib.root_module.addImport("pgzx_pgsys", pgzx_pgsys);
tests.lib.root_module.addImport("pgzx", pgzx);
tests.lib.root_module.addOptions("build_options", test_options);

break :blk tests;
};
Expand Down

0 comments on commit 954c11e

Please sign in to comment.