mirror of
https://github.com/ziglang/zig.git
synced 2026-11-22 04:37:39 -05:00
ability to specify -framework linker args for MacOS
This commit is contained in:
1 parent
b738cbdc76
commit
4c0259b107
5 files changed
+19
No files matched your search
@@ -193,6 +193,10 @@ void codegen_add_link_lib(CodeGen *g, const char *lib) {
|
||||
}
|
||||
}
|
||||
|
||||
void codegen_add_framework(CodeGen *g, const char *framework) {
|
||||
g->darwin_frameworks.append(buf_create_from_str(framework));
|
||||
}
|
||||
|
||||
void codegen_set_windows_subsystem(CodeGen *g, bool mwindows, bool mconsole) {
|
||||
g->windows_subsystem_windows = mwindows;
|
||||
g->windows_subsystem_console = mconsole;
|
||||
|
||||
Reference in new issue
Block a user