Commit 92233bfa authored by Alexandre Julliard's avatar Alexandre Julliard

makefiles: Support delay imports for PE builds.

parent d6248830
......@@ -1386,7 +1386,8 @@ static void build_windows_import_lib( DLLSPEC *spec )
m_flag = NULL;
break;
}
strarray_add( &args, "-k", "-l", output_file_name, "-d", def_file, NULL );
strarray_add( &args, "-k", strendswith( output_file_name, ".delay.a" ) ? "-y" : "-l",
output_file_name, "-d", def_file, NULL );
if (m_flag)
strarray_add( &args, "-m", m_flag, as_flags, NULL );
spawn( args );
......
......@@ -48,7 +48,8 @@ Build a .def file from a spec file. The .spec file is specified via the
.TP
.BI \--implib
Build a .a import library from a spec file. The .spec file is
specified via the \fB-E\fR option.
specified via the \fB-E\fR option. If the output library name ends
in .delay.a, a delayed import library is built.
.TP
.B \--resources
Generate a .o file containing all the input resources. This is useful
......
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