winegcc: Recognize .obj files as objects.
For more compatibility with mingw-gcc. Since meson always names object files with a .obj extension when using mingw, this improves compatibility with meson. Signed-off-by: Connor Abbott <cwabbott0@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
363fc54a1c
commit
f1ab3c8d76
|
@ -230,6 +230,7 @@ file_type get_file_type(const char* filename)
|
|||
|
||||
if (cnt == sizeof(res_sig) && !memcmp(buf, res_sig, sizeof(res_sig))) return file_res;
|
||||
if (strendswith(filename, ".o")) return file_obj;
|
||||
if (strendswith(filename, ".obj")) return file_obj;
|
||||
if (strendswith(filename, ".a")) return file_arh;
|
||||
if (strendswith(filename, ".res")) return file_res;
|
||||
if (strendswith(filename, ".so")) return file_so;
|
||||
|
|
Loading…
Reference in New Issue