Commit f1ab3c8d authored by Connor Abbott's avatar Connor Abbott Committed by Alexandre Julliard

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: 's avatarConnor Abbott <cwabbott0@gmail.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 363fc54a
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment