Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Shayne Fletcher
Glasgow Haskell Compiler
Commits
e8fcdc34
Commit
e8fcdc34
authored
Jan 01, 2008
by
Clemens Fruhwirth
Browse files
Add package dependencies to link pass when building ghc package (required for windows DLL build)
parent
3d62f93c
Changes
1
Hide whitespace changes
Inline
Side-by-side
compiler/Makefile
View file @
e8fcdc34
...
...
@@ -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)
))
'
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment