diff --git a/.gitignore b/.gitignore index 4a0641e..0ea71a8 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,2 @@ -zig-cache/ +.zig-cache/ zig-out/ \ No newline at end of file diff --git a/build.zig b/build.zig index 8313e69..2c88376 100644 --- a/build.zig +++ b/build.zig @@ -15,9 +15,9 @@ pub fn build(b: *std.Build) void { lib.linkLibC(); lib.linkLibrary(opus_dep.artifact("opus")); lib.linkLibrary(ogg_dep.artifact("ogg")); - lib.addIncludePath(.{ .path = "include" }); + lib.addIncludePath(b.path("include")); lib.addCSourceFiles(.{ .files = &sources, .flags = &.{} }); - lib.installHeadersDirectory("include", ""); + lib.installHeadersDirectory(b.path("include"), "", .{}); lib.installLibraryHeaders(opus_dep.artifact("opus")); lib.installLibraryHeaders(ogg_dep.artifact("ogg")); b.installArtifact(lib); diff --git a/build.zig.zon b/build.zig.zon index 023d77b..736d5d6 100644 --- a/build.zig.zon +++ b/build.zig.zon @@ -13,12 +13,12 @@ }, .dependencies = .{ .opus = .{ - .url = "https://pkg.machengine.org/opus/a92588094c455521282ed0a2b25c897721855f9b.tar.gz", - .hash = "1220bdd0eb5c2877c5a068a42fed25d4c52b38f088efb9c7f30228cb6eabbb4ac90c", + .url = "https://pkg.machengine.org/opus/8665e1f41c0facca6305e6caab75646bf219617e.tar.gz", + .hash = "12201cbb303d9417dfa24a8a019d510f03dfc575ea70ceb6ab42a98aa96ee31ff341", }, .ogg = .{ - .url = "https://pkg.machengine.org/ogg/f138f7003b6752fed019b7a8a7b7cf923f072dd8.tar.gz", - .hash = "1220c5b989e47e07722570d71cc059bd672ea8b53a0d003c3fa0a6ac044c08d962a0", + .url = "https://pkg.machengine.org/ogg/30eb809beaf36a25c156334038a0a13a152e344e.tar.gz", + .hash = "1220eacee464baa636d82fd965f76ad63dab75b1b69e692270ae8e3615bebc012648", }, }, }