diff options
author | Ian Lynagh <igloo@earth.li> | 2010-09-20 23:04:49 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2010-09-20 23:04:49 +0000 |
commit | f8ddd8a27e49828904ffbefe5871cdfd64731fae (patch) | |
tree | 37c3f8149d67182fb6985bbdfa015f821fd79e84 /rules | |
parent | 9102e55f42c416f1149df87042cd65716d457315 (diff) | |
download | haskell-f8ddd8a27e49828904ffbefe5871cdfd64731fae.tar.gz |
Tell Cabal that we're not building GHCi libs if UseArchivesForGhci=YES
Diffstat (limited to 'rules')
-rw-r--r-- | rules/build-package-data.mk | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/rules/build-package-data.mk b/rules/build-package-data.mk index 2732aa3738..d2546380da 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 |