From 617febd6097125325ea78502edcf369849e472d1 Mon Sep 17 00:00:00 2001 From: simonmar Date: Tue, 1 May 2001 09:22:45 +0000 Subject: [PATCH] [project @ 2001-05-01 09:22:45 by simonmar] fix HC bootstrapping after LibsReadline no longer has the -l prefixes. --- mk/bootstrap.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mk/bootstrap.mk b/mk/bootstrap.mk index 30adf94..30dfa3f 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" -- 1.7.10.4