Commit dae341f5 authored by simonmar's avatar simonmar
Browse files

[project @ 2005-01-27 11:55:37 by simonmar]

Include package Cabal when linking
parent 56f5bc18
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
# $Id: bootstrap.mk,v 1.31 2004/10/07 03:19:51 dons 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. # Makefile rules for booting from .hc files without a driver.
# #
...@@ -101,6 +101,7 @@ HC_BOOT_LD_OPTS += \ ...@@ -101,6 +101,7 @@ HC_BOOT_LD_OPTS += \
-L$(FPTOOLS_TOP_ABS)/libraries/template-haskell \ -L$(FPTOOLS_TOP_ABS)/libraries/template-haskell \
-L$(FPTOOLS_TOP_ABS)/libraries/readline \ -L$(FPTOOLS_TOP_ABS)/libraries/readline \
-L$(FPTOOLS_TOP_ABS)/libraries/parsec \ -L$(FPTOOLS_TOP_ABS)/libraries/parsec \
-L$(FPTOOLS_TOP_ABS)/libraries/Cabal \
-L$(FPTOOLS_TOP_ABS)/libraries/unix \ -L$(FPTOOLS_TOP_ABS)/libraries/unix \
-L$(FPTOOLS_TOP_ABS)/libraries/unix/cbits -L$(FPTOOLS_TOP_ABS)/libraries/unix/cbits
endif endif
...@@ -145,7 +146,7 @@ ifeq "$(GhcWithInterpreter)" "YES" ...@@ -145,7 +146,7 @@ ifeq "$(GhcWithInterpreter)" "YES"
HC_BOOT_LIBS += -lHSreadline -lHStemplate-haskell -lHSunix -lHSunix_cbits HC_BOOT_LIBS += -lHSreadline -lHStemplate-haskell -lHSunix -lHSunix_cbits
endif 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" ifeq "$(GhcLibsWithReadline)" "YES"
HC_BOOT_LIBS += $(patsubst %, -l%, $(LibsReadline)) HC_BOOT_LIBS += $(patsubst %, -l%, $(LibsReadline))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment