projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9102e55
)
Tell Cabal that we're not building GHCi libs if UseArchivesForGhci=YES
author
Ian Lynagh
<igloo@earth.li>
Mon, 20 Sep 2010 23:04:49 +0000
(23:04 +0000)
committer
Ian Lynagh
<igloo@earth.li>
Mon, 20 Sep 2010 23:04:49 +0000
(23:04 +0000)
rules/build-package-data.mk
patch
|
blob
|
history
diff --git
a/rules/build-package-data.mk
b/rules/build-package-data.mk
index
2732aa3
..
d254638
100644
(file)
--- 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