Support unconventionally named import libraries
GHC's import library support currently does not recognize import libraries which are named something other than
.dll.a. This is because we're using the extension to determine the mode to use.
Instead we should look at the presence of certain patterns. e.g. .o files contain only
.idata sections etc.
This would allow us to be able to support import libraries such as
gcc_s and no longer need to hardcode the GCC library full name in cabal file.
This should add more compatibility with packages on hackage.
|Component||Runtime System (Linker)|