Commit 3c235e05 authored by Alexandre Julliard's avatar Alexandre Julliard

winegcc: Check for Mingw-style .dll.a import libraries.

parent cb86bb92
...@@ -138,7 +138,15 @@ static file_type guess_lib_type(struct target target, const char* dir, ...@@ -138,7 +138,15 @@ static file_type guess_lib_type(struct target target, const char* dir,
if ((*file = try_lib_path(dir, "", prefix, library, ".def", file_def))) if ((*file = try_lib_path(dir, "", prefix, library, ".def", file_def)))
return file_dll; return file_dll;
} }
else arch_dir = get_arch_dir( target ); else
{
arch_dir = get_arch_dir( target );
if (!strcmp( suffix, ".a" )) /* try Mingw-style .dll.a import lib */
{
if ((*file = try_lib_path(dir, arch_dir, prefix, library, ".dll.a", file_arh)))
return file_arh;
}
}
/* static archives */ /* static archives */
if ((*file = try_lib_path(dir, arch_dir, prefix, library, suffix, file_arh))) if ((*file = try_lib_path(dir, arch_dir, prefix, library, suffix, file_arh)))
......
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