What does the Project options have to do with the configure/Makefiles ?
Sorry. I think I didn't read the second post properly.
But that option is breaking the Import library creation on Windows. If you uncheck those options, import lib of foo.dll will be created as foo.dll, which is wrong. With GCC it works but with other compilers it doesn't.