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:
Francois Gouget 2013-09-06 14:33:17 +02:00 committed by Alexandre Julliard
parent 93f77f461a
commit 4343c9e1f7
1 changed files with 1 additions and 1 deletions

View File

@ -337,7 +337,7 @@ static int try_link( const strarray *prefix, const strarray *link_tool, const ch
strarray *link = strarray_dup( link_tool );
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, out );