Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
jberryman
GHC
Commits
5220fda7
Commit
5220fda7
authored
May 24, 2004
by
simonmar
Browse files
[project @ 2004-05-24 09:13:21 by simonmar]
Comment update
parent
676bb272
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/compiler/ghci/Linker.lhs
View file @
5220fda7
...
...
@@ -778,9 +778,13 @@ linkPackage dflags pkg
-- dlopen-ing A with RTLD_NOW (see addDLL in Linker.c) will fail
-- when B has not been loaded before. In a nutshell: Reverse the
-- order of DLLs for dynamic linking.
-- This fixes a problem with the HOpenGL package (see "Compiling
-- HOpenGL under recent versions of GHC" on the HOpenGL list).
mapM_ (load_dyn dirs) (reverse dlls)
-- After loading all the DLLs, we can load the static objects.
-- Ordering isn't important here, because we do one final link
-- step to resolve everything.
mapM_ loadObj objs
maybePutStr dflags "linking ... "
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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