building with mingw for windows
This commit is contained in:
@@ -529,7 +529,7 @@ uint32_t target_c_type_size_in_bits(const ZigTarget *target, CIntType id) {
|
||||
}
|
||||
|
||||
const char *target_o_file_ext(ZigTarget *target) {
|
||||
if (target->env_type == ZigLLVM_MSVC) {
|
||||
if (target->env_type == ZigLLVM_MSVC || target->os == ZigLLVM_Win32) {
|
||||
return ".obj";
|
||||
} else {
|
||||
return ".o";
|
||||
|
||||
Reference in New Issue
Block a user