Ok, so CMake knows that mingw shared libraries go in <mingw root>/bin and not <mingw root>/lib but autotools does not.

What's the best way to fix this? I manually moving the files in the spec file but then the pkgconf file would need to get patched as well. There's got to be a more elegant way of fixing this than brute force...

Is there?

Thanks,
Richard