mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-22 21:54:59 -07:00
Add -build-mode=obj
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user