Commit f8ddd8a2 authored by Ian Lynagh's avatar Ian Lynagh

Tell Cabal that we're not building GHCi libs if UseArchivesForGhci=YES

parent 9102e55f
...@@ -24,6 +24,12 @@ ifeq "$$(filter dyn,$$(GhcLibWays))" "dyn" ...@@ -24,6 +24,12 @@ ifeq "$$(filter dyn,$$(GhcLibWays))" "dyn"
$1_$2_CONFIGURE_OPTS += --enable-shared $1_$2_CONFIGURE_OPTS += --enable-shared
endif endif
ifeq "$$(GhcWithInterpreter) $$(UseArchivesForGhci)" "YES NO"
$1_$2_CONFIGURE_OPTS += --enable-library-for-ghci
else
$1_$2_CONFIGURE_OPTS += --disable-library-for-ghci
endif
ifeq "$$(HSCOLOUR_SRCS)" "YES" ifeq "$$(HSCOLOUR_SRCS)" "YES"
$1_$2_CONFIGURE_OPTS += --with-hscolour="$$(HSCOLOUR_CMD)" $1_$2_CONFIGURE_OPTS += --with-hscolour="$$(HSCOLOUR_CMD)"
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