[commit: ghc] wip/nfs-locking: Add missing dependency (ba108c0)

git at git.haskell.org git at git.haskell.org
Fri Oct 27 00:15:16 UTC 2017


Repository : ssh://git@git.haskell.org/ghc

On branch  : wip/nfs-locking
Link       : http://ghc.haskell.org/trac/ghc/changeset/ba108c0198cc3ee6cd758273f9bd8fea14ba93a5/ghc

>---------------------------------------------------------------

commit ba108c0198cc3ee6cd758273f9bd8fea14ba93a5
Author: Andrey Mokhov <andrey.mokhov at gmail.com>
Date:   Thu May 19 23:50:46 2016 +0100

    Add missing dependency
    
    See #241.


>---------------------------------------------------------------

ba108c0198cc3ee6cd758273f9bd8fea14ba93a5
 src/Rules/Library.hs | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/Rules/Library.hs b/src/Rules/Library.hs
index 3fff65f..a198c64 100644
--- a/src/Rules/Library.hs
+++ b/src/Rules/Library.hs
@@ -71,6 +71,7 @@ buildPackageGhciLibrary context at Context {..} = priority 2 $ do
                 hObjs = [ path -/- src <.> osuf way | src <- hSrcs ]
                 gObjs = [ gmpObjects -/- "*.o" | package == integerGmp ]
                 objs  = cObjs ++ hObjs
+            when (package == integerGmp) $ orderOnly [gmpLibraryH]
             need objs
             build $ Target context Ld (objs ++ gObjs) [obj]
 



More information about the ghc-commits mailing list