Jacek Caban (@jacek) commented about tools/winegcc/winegcc.c:
if (image_base) strarray_add( &flags, strmake("-Wl,-base:%s", image_base )); if (entry_point) strarray_add( &flags, strmake( "-Wl,-entry:%s", entry_point ));
if (subsystem)
strarray_add( &flags, strmake("-Wl,-subsystem:%s", subsystem ));
else
strarray_add( &flags, strmake("-Wl,-subsystem:%s", is_gui_app ? "windows" : "console" ));
strarray_add( &flags, "-Xlinker" );
Why is this change needed?