From 9108aec687464662cfb3d5262c239e20b3ce811a Mon Sep 17 00:00:00 2001 From: superp00t Date: Wed, 3 Jul 2024 14:58:46 -0400 Subject: [PATCH] fix(build): link headers properly --- build.zig | 2 -- build.zig.zon | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/build.zig b/build.zig index cbee362..cd49a97 100644 --- a/build.zig +++ b/build.zig @@ -19,7 +19,6 @@ pub fn build(b: *std.Build) void { // Get dependencies const squall = b.dependency("squall", .{}); // Link storm - tempest.addIncludePath(squall.path(".")); tempest.linkLibrary(squall.artifact("storm")); // Include Typhoon project directory @@ -60,7 +59,6 @@ pub fn build(b: *std.Build) void { system.add_defines(tempest_test_exe); tempest_test_exe.linkLibrary(tempest); - tempest_test_exe.addIncludePath(squall.path(".")); tempest_test_exe.addIncludePath(b.path(".")); tempest_test_exe.addCSourceFiles(.{ diff --git a/build.zig.zon b/build.zig.zon index eff2a10..7a311a0 100644 --- a/build.zig.zon +++ b/build.zig.zon @@ -9,7 +9,7 @@ }, .squall = .{ .url = "https://github.com/thunderbrewhq/squall/archive/refs/heads/master.zip", - .hash = "1220bd226ad3c1664370d204a12805c35d721682f52b925cd96cc9d99bddf76ed2a5", - }, + .hash = "12200577cef7c49c34d706346f514343d0378480cdf7cdaff4ee9e9318fc29f0168b", + } }, }