From: simonmar Date: Thu, 27 Jan 2005 12:55:15 +0000 (+0000) Subject: [project @ 2005-01-27 12:55:15 by simonmar] X-Git-Tag: Initial_conversion_from_CVS_complete~1173 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=35c17bb10a87bdaa98ddf7d530581dffc9e6724f;p=ghc-hetmet.git [project @ 2005-01-27 12:55:15 by simonmar] bootstrapping wibbles --- diff --git a/ghc/utils/ghc-pkg/Makefile b/ghc/utils/ghc-pkg/Makefile index 809e0a9..90230f4 100644 --- a/ghc/utils/ghc-pkg/Makefile +++ b/ghc/utils/ghc-pkg/Makefile @@ -13,10 +13,14 @@ SRC_HC_OPTS += -cpp -Wall -fno-warn-name-shadowing -fno-warn-unused-matches SRC_HC_OPTS += -i$(GHC_LIB_COMPAT_DIR) SRC_LD_OPTS += -L$(GHC_LIB_COMPAT_DIR) -lghccompat +# And similarly for when booting from .hc files: +HC_BOOT_LD_OPTS += -L$(GHC_LIB_COMPAT_DIR) +HC_BOOT_LIBS += -lghccompat ifeq "$(Windows)" "YES" # not very nice, but required for -lghccompat on Windows SRC_LD_OPTS += -lshell32 +HC_BOOT_LIBS += -lshell32 endif ifeq "$(ghc_ge_504)" "NO"