diff options
| -rw-r--r-- | build.zig | 5 | ||||
| -rw-r--r-- | build.zig.zon | 3 |
2 files changed, 8 insertions, 0 deletions
@@ -30,6 +30,11 @@ pub fn build(b: *std.Build) void { epoll.root_module.addImport("lmdb", lmdb_mod); epoll.linkLibC(); + const http = b.dependency("http", .{ .target = target, .optimize = optimize }); + const http_mod = http.module("http"); + // lmdb_mod.omit_frame_pointer = false; + exe.root_module.addImport("http", http_mod); + b.installArtifact(exe); const run_cmd = b.addRunArtifact(exe); diff --git a/build.zig.zon b/build.zig.zon index ab8c6ab..4d2cc1f 100644 --- a/build.zig.zon +++ b/build.zig.zon @@ -12,5 +12,8 @@ // .hash = "122001bacb21ad7eb237531fb218962270a178c52893bbfd9c5ce493232747e652e2", .path = "../ziglmdb", }, + .http = .{ + .path = "../zighttp", + }, }, } |
