Skip to content

Commit abcab13

Browse files
committed
Update libraries
2 parents 174ce64 + 2bfe78e commit abcab13

8 files changed

Lines changed: 6 additions & 0 deletions

File tree

build.zig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,8 @@ pub fn link_sdl_framework(
258258
} else if (target.result.cpu.arch == .x86_64) {
259259
lib.addLibraryPath(b.path("libs/ubuntu-x64/"));
260260
lib.linkSystemLibrary("SDL3.0.4.0", .{});
261+
lib.linkSystemLibrary("SDL3_ttf.0.2.2", .{});
262+
lib.linkSystemLibrary("SDL3_mixer.0.1.2", .{});
261263
} else {
262264
std.log.err("Only aarch and x86_64 is supported for linux builds.", .{});
263265
}

libs/ubuntu-x64/libSDL3.0.4.0.so

14.9 MB
Binary file not shown.

libs/ubuntu-x64/libSDL3.so.0

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
libSDL3.0.4.0.so
1.48 MB
Binary file not shown.

libs/ubuntu-x64/libSDL3_mixer.so.0

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
libSDL3_mixer.0.1.2.so
527 KB
Binary file not shown.

libs/ubuntu-x64/libSDL3_ttf.so.0

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
libSDL3_ttf.0.2.2.so

src/engine.zig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,7 @@ pub const Display = struct {
221221
display.keybindings = .empty;
222222
display.event_hook = .{ .func = null };
223223
display.bucket = StringBucket.init(gpa);
224+
errdefer display.bucket.deinit();
224225
display.bundle_filename = null;
225226
display.config = config;
226227
if (config.bundle_filename != null)

0 commit comments

Comments
 (0)