When linking a shared library with --make, always do the link step
authorDuncan Coutts <duncan@well-typed.com>
Tue, 19 May 2009 12:11:49 +0000 (12:11 +0000)
committerDuncan Coutts <duncan@well-typed.com>
Tue, 19 May 2009 12:11:49 +0000 (12:11 +0000)
commit8aaa9ef471cadbc79fca58b234b198065f650dcf
tree1e377af54cc097aec7ab14094c49d415c338c7a0
parent4e340bbb54087a3a5b12afc6e2ad3664ec4beed3
When linking a shared library with --make, always do the link step
Without -shared, the default target is a binary and in that case
it makes sense for --make to not try and link a binary when there
is no Main module. But for a shared library the user already has
to specify -shared and there's no reason a shared lib should
contain any Main module or main function.
compiler/main/GHC.hs