mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-08-02 14:57:31 +03:00
fix linux builds
This commit is contained in:
@ -1017,7 +1017,7 @@ fn addDeps(
|
|||||||
// on x86_64.
|
// on x86_64.
|
||||||
if (step.rootModuleTarget().os.tag == .linux) {
|
if (step.rootModuleTarget().os.tag == .linux) {
|
||||||
const triple = try step.rootModuleTarget().linuxTriple(b.allocator);
|
const triple = try step.rootModuleTarget().linuxTriple(b.allocator);
|
||||||
step.addLibraryPath(b.path(b.fmt("/usr/lib/{s}", .{triple})));
|
step.addLibraryPath(.{ .cwd_relative = b.fmt("/usr/lib/{s}", .{triple}) });
|
||||||
}
|
}
|
||||||
|
|
||||||
// C files
|
// C files
|
||||||
|
@ -72,7 +72,7 @@ test "accelFromTrigger" {
|
|||||||
|
|
||||||
try testing.expectEqualStrings("<Super>q", (try accelFromTrigger(&buf, .{
|
try testing.expectEqualStrings("<Super>q", (try accelFromTrigger(&buf, .{
|
||||||
.mods = .{ .super = true },
|
.mods = .{ .super = true },
|
||||||
.key = .q,
|
.key = .{ .translated = .q },
|
||||||
})).?);
|
})).?);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user