mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-15 00:06:09 +03:00
support building with musl, although it doesn't run currently
This commit is contained in:
@ -13,7 +13,7 @@ pub fn build(b: *std.build.Builder) !void {
|
|||||||
const target = target: {
|
const target = target: {
|
||||||
var result = b.standardTargetOptions(.{});
|
var result = b.standardTargetOptions(.{});
|
||||||
|
|
||||||
if (result.isLinux()) {
|
if (result.isLinux() and result.isGnuLibC()) {
|
||||||
// https://github.com/ziglang/zig/issues/9485
|
// https://github.com/ziglang/zig/issues/9485
|
||||||
result.glibc_version = .{ .major = 2, .minor = 28 };
|
result.glibc_version = .{ .major = 2, .minor = 28 };
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user