build: also link raylib for libcombat

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I337a654ffc0dbfab19bdbe68ba9bd9026a6a6964
This commit is contained in:
raf 2026-04-04 22:49:14 +03:00
commit 0b4f14c73c
Signed by: NotAShelf
GPG key ID: 29D95B64378DB4BF

View file

@ -15,6 +15,7 @@ pub fn build(b: *std.Build) void {
}), }),
}); });
combat_lib.addIncludePath(b.path("src")); combat_lib.addIncludePath(b.path("src"));
combat_lib.linkSystemLibrary("raylib");
// C sources (everything except combat, which is now Zig) // C sources (everything except combat, which is now Zig)
const c_sources = [_][]const u8{ const c_sources = [_][]const u8{