summaryrefslogtreecommitdiff
path: root/mk/bootstrap.mk
diff options
context:
space:
mode:
authorsimonmar <unknown>2001-05-01 09:22:45 +0000
committersimonmar <unknown>2001-05-01 09:22:45 +0000
commit617febd6097125325ea78502edcf369849e472d1 (patch)
tree2d76f501c12df332d0d7a6b5c87e35ff8d8658a6 /mk/bootstrap.mk
parentdf65fd0b7646ffa17ed553289a4cd0e806bef8b9 (diff)
downloadhaskell-617febd6097125325ea78502edcf369849e472d1.tar.gz
[project @ 2001-05-01 09:22:45 by simonmar]
fix HC bootstrapping after LibsReadline no longer has the -l prefixes.
Diffstat (limited to 'mk/bootstrap.mk')
-rw-r--r--mk/bootstrap.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/bootstrap.mk b/mk/bootstrap.mk
index 30adf94b94..30dfa3f5dc 100644
--- a/mk/bootstrap.mk
+++ b/mk/bootstrap.mk
@@ -1,5 +1,5 @@
# -----------------------------------------------------------------------------
-# $Id: bootstrap.mk,v 1.7 2001/04/24 15:06:32 simonmar Exp $
+# $Id: bootstrap.mk,v 1.8 2001/05/01 09:22:45 simonmar Exp $
#
# Makefile rules for booting from .hc files without a driver.
#
@@ -106,7 +106,7 @@ HC_BOOT_LD_OPTS = \
HC_BOOT_LIBS = -lHStext -lHSutil -lHSposix -lHSposix_cbits -lHSconcurrent -lHSlang -lHSlang_cbits -lHSstd -lHSstd_cbits -lHSrts -lgmp $(EXTRA_HC_BOOT_LIBS)
ifeq "$(GhcLibsWithReadline)" "YES"
-HC_BOOT_LIBS += $(LibsReadline)
+HC_BOOT_LIBS += $(patsubst %, -l%, $(LibsReadline))
endif
ifeq "$(HaveLibDL)" "YES"