winegcc: Support -Wl,--start-group and -Wl,--end-group.
These arguments need to be in the correct position so they need to go in the files array. Signed-off-by: Connor Abbott <cwabbott0@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
d209d9feb6
commit
b1fb07e188
|
@ -2030,7 +2030,10 @@ int main(int argc, char **argv)
|
||||||
opts.debug_file = strdup( Wl->base[++j] );
|
opts.debug_file = strdup( Wl->base[++j] );
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (!strcmp(Wl->base[j], "--whole-archive") || !strcmp(Wl->base[j], "--no-whole-archive"))
|
if (!strcmp(Wl->base[j], "--whole-archive") ||
|
||||||
|
!strcmp(Wl->base[j], "--no-whole-archive") ||
|
||||||
|
!strcmp(Wl->base[j], "--start-group") ||
|
||||||
|
!strcmp(Wl->base[j], "--end-group"))
|
||||||
{
|
{
|
||||||
strarray_add( opts.files, strmake( "-Wl,%s", Wl->base[j] ));
|
strarray_add( opts.files, strmake( "-Wl,%s", Wl->base[j] ));
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Reference in New Issue