Skip to content

Commit

Permalink
Merge pull request #1737 from actonlang/backend-build-no-snappy
Browse files Browse the repository at this point in the history
Remove libsnappy from backend build
  • Loading branch information
plajjan authored Mar 13, 2024
2 parents 0e223fc + d018850 commit 961a01b
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions backend/build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,6 @@ pub fn build(b: *std.Build) void {
.optimize = optimize,
});

const dep_libsnappy_c = b.anonymousDependency("deps/libsnappy_c", @import("deps/libsnappy_c/build.zig"), .{
.target = target,
.optimize = optimize,
});

const libactondb_sources = [_][]const u8 {
"comm.c",
"hash_ring.c",
Expand Down Expand Up @@ -101,7 +96,6 @@ pub fn build(b: *std.Build) void {
actondb.linkLibrary(dep_libprotobuf_c.artifact("protobuf-c"));
actondb.linkLibrary(dep_libuuid.artifact("uuid"));
actondb.linkLibrary(dep_libyyjson.artifact("yyjson"));
actondb.linkLibrary(dep_libsnappy_c.artifact("snappy-c"));
actondb.linkLibC();
actondb.linkLibCpp();
b.installArtifact(actondb);
Expand Down

0 comments on commit 961a01b

Please sign in to comment.