From: simonmar Date: Mon, 22 Oct 2001 14:47:37 +0000 (+0000) Subject: [project @ 2001-10-22 14:47:37 by simonmar] X-Git-Tag: Approximately_9120_patches~761 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=1827a6aeb9f40b08edfb36afd38690eed29c8a21;p=ghc-hetmet.git [project @ 2001-10-22 14:47:37 by simonmar] oops, need to look for source files in mkdependHS mode too. --- diff --git a/ghc/compiler/main/Finder.lhs b/ghc/compiler/main/Finder.lhs index c90bb0f..d6e4c3c 100644 --- a/ghc/compiler/main/Finder.lhs +++ b/ghc/compiler/main/Finder.lhs @@ -73,7 +73,7 @@ maybeHomeModule mod_name is_source = do -- package because we can compile these automatically. In one-shot -- compilation mode we look for .hi files only. std_exts - | isCompManagerMode mode = + | isCompManagerMode mode || mode == DoMkDependHS = [ ("hs", \ _ fName path -> mkHomeModuleLocn mod_name path fName) , ("lhs", \ _ fName path -> mkHomeModuleLocn mod_name path fName) ]