Hans Leidekker hans@it.vu.nl writes:
Second major problem happens at the build stage. The Makefile for a test specifies -L$(DLLDIR) when linking the test executables, which is where the *Wine* libraries reside. I think this is wrong, we should link against the target platform libraries (MinGW in this case) when cross compiling.
The problem is that Mingw doesn't include import libraries for all the dlls we need, so some tests will fail to link. A better solution might be to give priority to Mingw libraries while still falling back to the Wine ones if needed.