projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
01fb268
)
[project @ 2005-01-27 12:55:15 by simonmar]
author
simonmar
<unknown>
Thu, 27 Jan 2005 12:55:15 +0000
(12:55 +0000)
committer
simonmar
<unknown>
Thu, 27 Jan 2005 12:55:15 +0000
(12:55 +0000)
bootstrapping wibbles
ghc/utils/ghc-pkg/Makefile
patch
|
blob
|
history
diff --git
a/ghc/utils/ghc-pkg/Makefile
b/ghc/utils/ghc-pkg/Makefile
index
809e0a9
..
90230f4
100644
(file)
--- 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"