ability to specify -framework linker args for MacOS

This commit is contained in:
Andrew Kelley committed 2016-09-18 21:28:06 -04:00
1 parent b738cbdc76
commit 4c0259b107
5 files changed
+19

No files matched your search

+4
View File
@@ -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;