[PATCH 4/4] winegcc: Support -Wl,foo=... style linker options
Connor Abbott
cwabbott0 at gmail.com
Fri Jul 2 04:48:01 CDT 2021
In particular meson uses -Wl,--out-implib=...
Signed-off-by: Connor Abbott <cwabbott0 at gmail.com>
---
tools/winegcc/winegcc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/winegcc/winegcc.c b/tools/winegcc/winegcc.c
index b677457acf5..efe76821cd8 100644
--- a/tools/winegcc/winegcc.c
+++ b/tools/winegcc/winegcc.c
@@ -1982,7 +1982,7 @@ int main(int argc, char **argv)
if (strncmp("-Wl,", opts.args->base[i], 4) == 0)
{
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++)
{
if (!strcmp(Wl->base[j], "--image-base") && j < Wl->size - 1)
--
2.31.1
More information about the wine-devel
mailing list