pub fn linkSystemLibrary( translate_c: *TranslateC, name: []const u8, options: std.Build.Module.LinkSystemLibraryOptions, ) void
translate_c: *TranslateC
name: []const u8
options: std.Build.Module.LinkSystemLibraryOptions
174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189
pub fn linkSystemLibrary( translate_c: *TranslateC, name: []const u8, options: std.Build.Module.LinkSystemLibraryOptions, ) void { const graph = translate_c.step.owner.graph; const arena = graph.arena; translate_c.system_libs.append(arena, .{ .name = graph.dupeString(name), .needed = options.needed, .weak = options.weak, .use_pkg_config = options.use_pkg_config, .preferred_link_mode = options.preferred_link_mode, .search_strategy = options.search_strategy, }) catch @panic("OOM"); }