mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-09-14 18:01:58 +00:00
build/libghostty-vt: export uucode so that it can be re-used
This commit is contained in:
@@ -76,6 +76,12 @@ pub fn init(b: *std.Build, cfg: *const Config) !SharedDeps {
|
||||
.build_config_path = b.path("src/build/uucode_config.zig"),
|
||||
}).module("uucode");
|
||||
|
||||
// Re-export the uucode module so that Zig programs that embed libgtostty-vt
|
||||
// can use it. This is necessary to use libraries like libvaxis in
|
||||
// the embedding program that need uucode as well (libvaxis provides
|
||||
// -Dexternal_uucode for this).
|
||||
try b.modules.put(b.allocator, b.dupe("uucode"), uucode_mod);
|
||||
|
||||
var result: SharedDeps = .{
|
||||
.config = cfg,
|
||||
.help_strings = try .init(b, cfg),
|
||||
|
||||
Reference in New Issue
Block a user