Error compiling ScummVM Core

Hi,

I’m trying to compile ScummVM core using MSYS2 for windows. In the past I don’t have any problem but when I try with the last version I get this error:

make: ar: Argument list too long make: *** [Makefile:586: libdeps.a] Error 127

Someone can help me how to solve it.

Thanks in advance.

Not sure about MSYS2, but the core compiles fine with MinGW.