David Eichmann pushed to branch wip/davide/ghc-internal-def at Glasgow Haskell Compiler / GHC

Commits:

1 changed file:

Changes:

  • hadrian/src/Rules/Rts.hs
    ... ... @@ -25,7 +25,7 @@ buildGhcInternalImportDef target = do
    25 25
     
    
    26 26
     buildGhcInternalImportLib :: FilePath -> Action ()
    
    27 27
     buildGhcInternalImportLib target = do
    
    28
    -    let input = dropExtensions target <.> "def" -- the .def file
    
    28
    +    let input = dropExtension (dropExtension target) <.> "def" -- the .def file
    
    29 29
             output = target -- the .dll.a import lib
    
    30 30
         need [input]
    
    31 31
         runBuilder Dlltool ["-d", input, "-l", output] [input] [output]