mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-01 14:20:15 +00:00
winegcc: Add a trailing '\n' to the try_link() test file.
This stops the tested gcc command from issuing a warning on Solaris.
This commit is contained in:
parent
93f77f461a
commit
4343c9e1f7
1 changed files with 1 additions and 1 deletions
|
@ -337,7 +337,7 @@ static int try_link( const strarray *prefix, const strarray *link_tool, const ch
|
||||||
strarray *link = strarray_dup( link_tool );
|
strarray *link = strarray_dup( link_tool );
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
create_file( in, 0644, "int main(void){return 1;}" );
|
create_file( in, 0644, "int main(void){return 1;}\n" );
|
||||||
|
|
||||||
strarray_add( link, "-o" );
|
strarray_add( link, "-o" );
|
||||||
strarray_add( link, out );
|
strarray_add( link, out );
|
||||||
|
|
Loading…
Reference in a new issue