Commit 5b7cf08b authored by simonmar's avatar simonmar
Browse files

[project @ 2003-07-23 16:19:48 by simonmar]

There's no need to pass -u Main_zdmain_closure to the linker, indeed
this causes problems when there isn't a Main_zdmain_closure
(eg. linking a C program using GHC).

merge to STABLE
parent f32a7c7c
......@@ -1054,9 +1054,7 @@ staticLink o_files dep_packages = do
++ pkg_framework_path_opts
++ pkg_framework_opts
++ if static && not no_hs_main then
[ "-u", prefixUnderscore "Main_zdmain_closure"]
else []))
-- parallel only: move binary to another dir -- HWL
ways_ <- readIORef v_Ways
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment