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.
Trac metadata
Trac field | Value |
---|---|
Version | 8.0.1 |
Type | FeatureRequest |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Runtime System (Linker) |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |