Commit c7a210bc authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

winegcc: Use paths for found libraries on PE targets when using msvcrt.

We use -nodefaultlibs now, so we don't need to worry about GCC additions. Signed-off-by: 's avatarJacek Caban <jacek@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 826be590
......@@ -1393,7 +1393,7 @@ static void build(struct options* opts)
strarray_add(link_args, name);
break;
case 'a':
if (is_pe && !opts->lib_suffix && strchr(name, '/'))
if (is_pe && !opts->use_msvcrt && !opts->lib_suffix && strchr(name, '/'))
{
/* turn the path back into -Ldir -lfoo options
* this makes sure that we use the specified libs even
......
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