From 35c17bb10a87bdaa98ddf7d530581dffc9e6724f Mon Sep 17 00:00:00 2001 From: simonmar Date: Thu, 27 Jan 2005 12:55:15 +0000 Subject: [PATCH] [project @ 2005-01-27 12:55:15 by simonmar] bootstrapping wibbles --- ghc/utils/ghc-pkg/Makefile | 4 ++++ 1 file changed, 4 insertions(+) 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" -- 1.7.10.4