Commit 192a8f9f authored by kgardas's avatar kgardas Committed by ian@well-typed.com

set DYNAMIC_GHC_PROGRAMS to NO if platform does not support shared libs

parent d0ecba6d
...@@ -138,6 +138,8 @@ else ifeq "$(TargetOS_CPP)" "freebsd" ...@@ -138,6 +138,8 @@ else ifeq "$(TargetOS_CPP)" "freebsd"
# FreeBSD cannot do proper resolution for $ORIGIN (due to a bug in # FreeBSD cannot do proper resolution for $ORIGIN (due to a bug in
# rtld(1)), so disable it by default (see #7819). # rtld(1)), so disable it by default (see #7819).
DYNAMIC_GHC_PROGRAMS = NO DYNAMIC_GHC_PROGRAMS = NO
else ifeq "$(PlatformSupportsSharedLibs)" "NO"
DYNAMIC_GHC_PROGRAMS = NO
else else
DYNAMIC_GHC_PROGRAMS = YES DYNAMIC_GHC_PROGRAMS = YES
endif endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment