summaryrefslogtreecommitdiff
path: root/ghc.mk
diff options
context:
space:
mode:
authorBryan O'Sullivan <bos@serpentine.com>2013-09-13 13:13:04 -0700
committerBryan O'Sullivan <bryano@fb.com>2013-09-15 10:07:39 -0700
commit865956a6ccd88e71aa07a33667242b95ecf98793 (patch)
tree28a28a2eeb3c7ce4de968dfd985a06139f1bac0c /ghc.mk
parent81610b0ecbd718590b7b9afa749fc8b81633d6fc (diff)
downloadhaskell-865956a6ccd88e71aa07a33667242b95ecf98793.tar.gz
Cause "make install" to install dynamic libraries (#8194)
Our special ghc-cabal command needs to be told that we are building with dynamic library support when it does its copying. We do so by passing an extra parameter from ghc.mk.
Diffstat (limited to 'ghc.mk')
-rw-r--r--ghc.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/ghc.mk b/ghc.mk
index 82e9e5c655..2597ee9fe4 100644
--- a/ghc.mk
+++ b/ghc.mk
@@ -918,7 +918,8 @@ install_packages: rts/dist/package.conf.install
'$(DESTDIR)' \
'$(prefix)' \
'$(ghclibdir)' \
- '$(docdir)/html/libraries'))
+ '$(docdir)/html/libraries' \
+ '$(GhcLibWays)'))
"$(INSTALLED_GHC_PKG_REAL)" --force --global-package-db "$(INSTALLED_PACKAGE_CONF)" update rts/dist/package.conf.install
$(foreach p, $(INSTALL_PACKAGES), \
$(call make-command, \