Fix middleware compilation???
This commit is contained in:
parent
04a95a280b
commit
9c5e46ec5a
9 changed files with 115 additions and 54 deletions
|
@ -82,7 +82,7 @@ pub fn build(b: *std.build.Builder) !void {
|
|||
|
||||
const pkgs = makePkgs(b, options.getPackage("build_options"));
|
||||
|
||||
const exe = b.addExecutable("apub", "src/main/main.zig");
|
||||
const exe = b.addExecutable("fediglam", "src/main/main.zig");
|
||||
exe.setTarget(target);
|
||||
exe.setBuildMode(mode);
|
||||
|
||||
|
@ -96,6 +96,7 @@ pub fn build(b: *std.build.Builder) !void {
|
|||
if (enable_sqlite) exe.linkSystemLibrary("sqlite3");
|
||||
if (enable_postgres) exe.linkSystemLibrary("pq");
|
||||
exe.linkLibC();
|
||||
exe.addSystemIncludePath("/usr/include/");
|
||||
|
||||
//const util_tests = b.addTest("src/util/lib.zig");
|
||||
const http_tests = b.addTest("src/http/test.zig");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue