Commit 4819a850 authored by Alexandre Julliard's avatar Alexandre Julliard

winegcc: Use a temp file for the implicitly created import library.

Otherwise clang creates a .lib file along with every dll.
parent 663e93e6
......@@ -465,6 +465,8 @@ static struct strarray get_link_args( struct options *opts, const char *output_n
if (opts->out_implib)
strarray_add(&link_args, strmake("-Wl,-implib:%s", opts->out_implib));
else
strarray_add(&link_args, strmake("-Wl,-implib:%s", make_temp_file( output_name, ".lib" )));
strarray_add( &link_args, strmake( "-Wl,-filealign:%s", opts->file_align ? opts->file_align : "0x1000" ));
......
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