makedep: Don't try to use .delay.a extension for non-PE delay imports.
Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
ea9f47a767
commit
c18443aadb
|
@ -2219,8 +2219,10 @@ static struct strarray add_import_libs( const struct makefile *make, struct stra
|
|||
|
||||
if (lib)
|
||||
{
|
||||
if (delay && !delay_load_flag) lib = replace_extension( lib, ".a", ".delay.a" );
|
||||
else if (make->is_cross) lib = replace_extension( lib, ".a", ".cross.a" );
|
||||
if (delay && !delay_load_flag && (make->is_cross || !*dll_ext))
|
||||
lib = replace_extension( lib, ".a", ".delay.a" );
|
||||
else if (make->is_cross)
|
||||
lib = replace_extension( lib, ".a", ".cross.a" );
|
||||
lib = top_obj_dir_path( make, lib );
|
||||
strarray_add( deps, lib );
|
||||
strarray_add( &ret, lib );
|
||||
|
|
Loading…
Reference in New Issue