[project @ 2005-01-27 12:55:15 by simonmar]
authorsimonmar <unknown>
Thu, 27 Jan 2005 12:55:15 +0000 (12:55 +0000)
committersimonmar <unknown>
Thu, 27 Jan 2005 12:55:15 +0000 (12:55 +0000)
bootstrapping wibbles

ghc/utils/ghc-pkg/Makefile

index 809e0a9..90230f4 100644 (file)
@@ -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"