X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=mk%2Fbootstrap.mk;h=d9a5cbfdd95e6f3a717e14e99532520847179e33;hb=988c661545d1bd6751e3a126d7ba5414d02da070;hp=aef691dd1d02a5f7d440f46ad94200be009a02a3;hpb=d369f9643ee5a0758c5de1c08e415c20105d75b3;p=ghc-hetmet.git diff --git a/mk/bootstrap.mk b/mk/bootstrap.mk index aef691d..d9a5cbf 100644 --- a/mk/bootstrap.mk +++ b/mk/bootstrap.mk @@ -1,5 +1,5 @@ # ----------------------------------------------------------------------------- -# $Id: bootstrap.mk,v 1.30 2004/02/04 10:00:43 simonmar Exp $ +# $Id: bootstrap.mk,v 1.32 2005/01/27 11:55:37 simonmar Exp $ # # Makefile rules for booting from .hc files without a driver. # @@ -17,6 +17,8 @@ include $(TOP)/mk/paths.mk # Reset TOP TOP:=$(TOP_SAVED) +include $(TOP)/mk/suffix.mk + # ----------------------------------------------------------------------------- # Set the platform-specific options to send to the C compiler. These should # match the list in machdepCCOpts in ghc/compiler/DriverFlags.hs. @@ -99,6 +101,7 @@ HC_BOOT_LD_OPTS += \ -L$(FPTOOLS_TOP_ABS)/libraries/template-haskell \ -L$(FPTOOLS_TOP_ABS)/libraries/readline \ -L$(FPTOOLS_TOP_ABS)/libraries/parsec \ + -L$(FPTOOLS_TOP_ABS)/libraries/Cabal \ -L$(FPTOOLS_TOP_ABS)/libraries/unix \ -L$(FPTOOLS_TOP_ABS)/libraries/unix/cbits endif @@ -143,7 +146,7 @@ ifeq "$(GhcWithInterpreter)" "YES" HC_BOOT_LIBS += -lHSreadline -lHStemplate-haskell -lHSunix -lHSunix_cbits endif -HC_BOOT_LIBS += -lHShaskell98 -lHSbase -lHSbase_cbits -lHSparsec -lHSrts -lgmp -lm $(EXTRA_HC_BOOT_LIBS) +HC_BOOT_LIBS += -lHSCabal -lHShaskell98 -lHSbase -lHSbase_cbits -lHSparsec -lHSrts -lgmp -lm $(EXTRA_HC_BOOT_LIBS) ifeq "$(GhcLibsWithReadline)" "YES" HC_BOOT_LIBS += $(patsubst %, -l%, $(LibsReadline))