Fix the flag used to force linking when we are making a shared library
authorDuncan Coutts <duncan@well-typed.com>
Thu, 4 Jun 2009 12:16:52 +0000 (12:16 +0000)
committerDuncan Coutts <duncan@well-typed.com>
Thu, 4 Jun 2009 12:16:52 +0000 (12:16 +0000)
commitc82d8533c7979c0d5e7a4b750dde6992a9328d94
tree1037130a5b9f1c8fc33e8dbe3b9ee0bcb17dffbb
parent8e0adc0215ff3e6e4c972f9ed6ba9df2f5d2c4f9
Fix the flag used to force linking when we are making a shared library
This is a correction to the patch:
* When linking a shared library with --make, always do the link step
which used the wrong flag in making the decision. It used -dynamic
whereas the correct flag is -shared.
compiler/main/GHC.hs