winegcc: Support -Wl,foo=... style linker options.
In particular meson uses -Wl,--out-implib=... Signed-off-by: Connor Abbott <cwabbott0@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
b1fb07e188
commit
fcda0afdd4
|
@ -1982,7 +1982,7 @@ int main(int argc, char **argv)
|
||||||
if (strncmp("-Wl,", opts.args->base[i], 4) == 0)
|
if (strncmp("-Wl,", opts.args->base[i], 4) == 0)
|
||||||
{
|
{
|
||||||
unsigned int j;
|
unsigned int j;
|
||||||
strarray* Wl = strarray_fromstring(opts.args->base[i] + 4, ",");
|
strarray* Wl = strarray_fromstring(opts.args->base[i] + 4, ",=");
|
||||||
for (j = 0; j < Wl->size; j++)
|
for (j = 0; j < Wl->size; j++)
|
||||||
{
|
{
|
||||||
if (!strcmp(Wl->base[j], "--image-base") && j < Wl->size - 1)
|
if (!strcmp(Wl->base[j], "--image-base") && j < Wl->size - 1)
|
||||||
|
|
Loading…
Reference in New Issue