Commit 020e2b6b authored by Alexandre Julliard's avatar Alexandre Julliard

makedep: Pass the actual name of the module in the delay load flags.

parent 51087b9b
......@@ -3323,8 +3323,10 @@ static void output_module( struct makefile *make, unsigned int arch )
if (delay_load_flags[arch])
{
for (i = 0; i < make->delayimports.count; i++)
strarray_add( &all_libs, strmake( "%s%s%s", delay_load_flags[arch], make->delayimports.str[i],
strchr( make->delayimports.str[i], '.' ) ? "" : ".dll" ));
{
struct makefile *import = get_static_lib( make->delayimports.str[i], arch );
if (import) strarray_add( &all_libs, strmake( "%s%s", delay_load_flags[arch], import->module ));
}
}
}
else module_name = strmake( "%s%s", arch_pe_dirs[arch], make->module );
......
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