Add -build-mode=obj

This commit is contained in:
gingerBill
2020-04-13 12:00:40 +01:00
parent 9e698b720f
commit 65a2125dba
6 changed files with 48 additions and 30 deletions
+1 -1
View File
@@ -11594,7 +11594,7 @@ void lb_generate_code(lbGenerator *gen) {
}*/
}
if (!(build_context.is_dll && !has_dll_main)) {
if (!(build_context.build_mode == BuildMode_DynamicLibrary && !has_dll_main)) {
Type *params = alloc_type_tuple();
Type *results = alloc_type_tuple();