mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-03 01:51:48 +00:00
winegcc: Use a temp file for the implicitly created import library.
Otherwise clang creates a .lib file along with every dll.
This commit is contained in:
parent
663e93e61f
commit
4819a850a0
|
@ -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" ));
|
||||
|
||||
|
|
Loading…
Reference in a new issue