[PATCH 1/2] set DYNAMIC_GHC_PROGRAMS to NO if platform does not support shared libs

4 Apr
2013
4 Apr
'13
4:29 p.m.
--- mk/config.mk.in | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/mk/config.mk.in b/mk/config.mk.in index 275c21a..de55f0d 100644 --- a/mk/config.mk.in +++ b/mk/config.mk.in @@ -135,8 +135,12 @@ ifeq "$(TargetOS_CPP)" "mingw32" # This doesn't work on Windows yet DYNAMIC_GHC_PROGRAMS = NO else +ifeq "$(PlatformSupportsSharedLibs)" "NO" +DYNAMIC_GHC_PROGRAMS = NO +else DYNAMIC_GHC_PROGRAMS = YES endif +endif # Build a compiler that will build *unregisterised* libraries and # binaries by default. Unregisterised code is supposed to compile and -- 1.7.3.2
4477
Age (days ago)
4477
Last active (days ago)
0 comments
1 participants
participants (1)
-
Karel Gardas