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

Commit 1025f8b

Browse files
feat: add host to config
1 parent aaf663c commit 1025f8b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Step/Configure.zig

+1
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ fn make(step: *std.Build.Step, _: *std.Progress.Node) anyerror!void {
7070
cmd,
7171
b.pathJoin(&.{ self.source.getPath2(b, step), "configure" }),
7272
b.fmt("--build={s}", .{try self.target.query.zigTriple(arena)}),
73+
b.fmt("--host={s}", .{try b.host.query.zigTriple(arena)}),
7374
"--prefix=/usr",
7475
b.fmt("--includedir={s}", .{try b.cache_root.join(b.allocator, &.{ "expidus-dev", "include" })}),
7576
b.fmt("--enable-{s}", .{@as([]const u8, switch (self.linkage) {

0 commit comments

Comments
 (0)