Commit c18443aa authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

makedep: Don't try to use .delay.a extension for non-PE delay imports.

parent ea9f47a7
...@@ -2219,8 +2219,10 @@ static struct strarray add_import_libs( const struct makefile *make, struct stra ...@@ -2219,8 +2219,10 @@ static struct strarray add_import_libs( const struct makefile *make, struct stra
if (lib) if (lib)
{ {
if (delay && !delay_load_flag) lib = replace_extension( lib, ".a", ".delay.a" ); if (delay && !delay_load_flag && (make->is_cross || !*dll_ext))
else if (make->is_cross) lib = replace_extension( lib, ".a", ".cross.a" ); 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 ); lib = top_obj_dir_path( make, lib );
strarray_add( deps, lib ); strarray_add( deps, lib );
strarray_add( &ret, lib ); strarray_add( &ret, lib );
......
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