Skip to content
This repository was archived by the owner on Sep 27, 2024. It is now read-only.

Commit a33e1f8

Browse files
fix(configure): host/target triple
1 parent 1025f8b commit a33e1f8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Step/Configure.zig

+2-2
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ fn make(step: *std.Build.Step, _: *std.Progress.Node) anyerror!void {
6969
try args.appendSlice(&.{
7070
cmd,
7171
b.pathJoin(&.{ self.source.getPath2(b, step), "configure" }),
72-
b.fmt("--build={s}", .{try self.target.query.zigTriple(arena)}),
73-
b.fmt("--host={s}", .{try b.host.query.zigTriple(arena)}),
72+
b.fmt("--build={s}", .{try self.target.result.linuxTriple(arena)}),
73+
b.fmt("--host={s}", .{try b.host.result.linuxTriple(arena)}),
7474
"--prefix=/usr",
7575
b.fmt("--includedir={s}", .{try b.cache_root.join(b.allocator, &.{ "expidus-dev", "include" })}),
7676
b.fmt("--enable-{s}", .{@as([]const u8, switch (self.linkage) {

0 commit comments

Comments
 (0)