Fix build on platform which does not support shared libraries.
The problem with current HEAD is that DYNAMIC_GHC_PROGRAMS = YES even if there is no support for shared libraries on the target platform. Due to this fact, later in build.mk "dyn" is added to the WAYS if DYNAMIC_GHC_PROGRAMS = YES. I've fixed this by switching DYNAMIC_GHC_PROGRAMS to NO if the platform does not support shared libs (that is PlatformSupportsSharedLibs = NO). Patch attached.
Trac metadata
Trac field | Value |
---|---|
Version | 7.6.3 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Build System |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |