From: Ian Lynagh Date: Mon, 20 Sep 2010 23:04:49 +0000 (+0000) Subject: Tell Cabal that we're not building GHCi libs if UseArchivesForGhci=YES X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=f8ddd8a27e49828904ffbefe5871cdfd64731fae;p=ghc-hetmet.git Tell Cabal that we're not building GHCi libs if UseArchivesForGhci=YES --- diff --git a/rules/build-package-data.mk b/rules/build-package-data.mk index 2732aa3..d254638 100644 --- a/rules/build-package-data.mk +++ b/rules/build-package-data.mk @@ -24,6 +24,12 @@ ifeq "$$(filter dyn,$$(GhcLibWays))" "dyn" $1_$2_CONFIGURE_OPTS += --enable-shared 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" $1_$2_CONFIGURE_OPTS += --with-hscolour="$$(HSCOLOUR_CMD)" endif