summaryrefslogtreecommitdiff
path: root/libraries/Makefile
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2007-10-24 12:06:33 +0000
committerIan Lynagh <igloo@earth.li>2007-10-24 12:06:33 +0000
commitbcd95f911539fd5308bec5a025bcadba712a3830 (patch)
treebe2b8b9e54a57e7421190b1a6b9c86e64b3ca6a2 /libraries/Makefile
parenta214945eb3e24976f6e41ffe666eec69358d9ce7 (diff)
downloadhaskell-bcd95f911539fd5308bec5a025bcadba712a3830.tar.gz
Fix ghc package in bindists; it wasn't adding the depenedency on readline
Diffstat (limited to 'libraries/Makefile')
-rw-r--r--libraries/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/libraries/Makefile b/libraries/Makefile
index f30554eee5..12f79708d0 100644
--- a/libraries/Makefile
+++ b/libraries/Makefile
@@ -368,6 +368,10 @@ ifeq "$(HADDOCK_DOCS)" "YES"
cp doc-index*.html $(BIN_DIST_LIBDIR)
endif
cp -pR stamp $(BIN_DIST_LIBDIR)
+ # This gets used in the compiler directory to see if GHC should
+ # depend on the readline package or not
+ $(MKDIRHIER) $(BIN_DIST_LIBDIR)/readline
+ cp readline/config.mk $(BIN_DIST_LIBDIR)/readline
$(foreach SUBDIR,$(SUBDIRS),binary-dist.library.$(SUBDIR)): \
binary-dist.library.%: