[commit: ghc] master: set DYNAMIC_GHC_PROGRAMS to NO if platform does not support shared libs (192a8f9)

Ian Lynagh igloo at earth.li
Fri May 31 01:29:39 CEST 2013


Repository : http://darcs.haskell.org/ghc.git/

On branch  : master

https://github.com/ghc/ghc/commit/192a8f9f557e2fe04ecd5309f7de4779d59b56f1

>---------------------------------------------------------------

commit 192a8f9f557e2fe04ecd5309f7de4779d59b56f1
Author: Karel Gardas <karel.gardas at centrum.cz>
Date:   Fri May 24 23:04:56 2013 +0200

    set DYNAMIC_GHC_PROGRAMS to NO if platform does not support shared libs

>---------------------------------------------------------------

 mk/config.mk.in | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/mk/config.mk.in b/mk/config.mk.in
index 5ef1f5c..0429796 100644
--- a/mk/config.mk.in
+++ b/mk/config.mk.in
@@ -138,6 +138,8 @@ else ifeq "$(TargetOS_CPP)" "freebsd"
 # FreeBSD cannot do proper resolution for $ORIGIN (due to a bug in
 # rtld(1)), so disable it by default (see #7819).
 DYNAMIC_GHC_PROGRAMS = NO
+else ifeq "$(PlatformSupportsSharedLibs)" "NO"
+DYNAMIC_GHC_PROGRAMS = NO
 else
 DYNAMIC_GHC_PROGRAMS = YES
 endif





More information about the ghc-commits mailing list