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: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
826be590c0
commit
c7a210bc2f
|
@ -1393,7 +1393,7 @@ static void build(struct options* opts)
|
||||||
strarray_add(link_args, name);
|
strarray_add(link_args, name);
|
||||||
break;
|
break;
|
||||||
case 'a':
|
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
|
/* turn the path back into -Ldir -lfoo options
|
||||||
* this makes sure that we use the specified libs even
|
* this makes sure that we use the specified libs even
|
||||||
|
|
Loading…
Reference in New Issue