projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
3d62f93
)
Add package dependencies to link pass when building ghc package (required for windows...
author
Clemens Fruhwirth
<clemens@endorphin.org>
Tue, 1 Jan 2008 15:21:01 +0000
(15:21 +0000)
committer
Clemens Fruhwirth
<clemens@endorphin.org>
Tue, 1 Jan 2008 15:21:01 +0000
(15:21 +0000)
compiler/Makefile
patch
|
blob
|
history
diff --git
a/compiler/Makefile
b/compiler/Makefile
index
9c8da7d
..
db21ae8
100644
(file)
--- a/
compiler/Makefile
+++ b/
compiler/Makefile
@@
-842,6
+842,7
@@
PACKAGE = ghc
HIERARCHICAL_LIB = NO
VERSION = $(ProjectVersion)
PKG_DEPENDS += base haskell98
+LIB_LD_OPTS += $(foreach pkg,$(PKG_DEPENDS),-package $(pkg))
# We have to expand each package dependency with its version, which we
# can do by calling "ghc-pkg list $pkg --simple-output".
PACKAGE_CPP_OPTS += -DPKG_DEPENDS='$(foreach pkg,$(PKG_DEPENDS),$(shell $(GHC_PKG_INPLACE) latest --global $(pkg)))'