From b86c74bef761ec48ff17cf043a26b11b9bf3954b Mon Sep 17 00:00:00 2001 From: Brad Richardson Date: Wed, 8 Jul 2020 11:24:41 -0700 Subject: Fix bug with case in program source file name. --- src/Build.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Build.hs') diff --git a/src/Build.hs b/src/Build.hs index 67ec2f9..ffbf264 100644 --- a/src/Build.hs +++ b/src/Build.hs @@ -120,7 +120,7 @@ buildProgram programDirectory libraryDirectories sourceExtensions buildDirectory need allObjectFiles need archives cmd compiler allObjectFiles archives ["-o", executable] flags - buildDirectory programSource -<.> "o" %> \objectFile -> do + buildDirectory (map toLower programSource) -<.> "o" %> \objectFile -> do let realObjectFile = foldl () "" $ splitDirectories objectFile let sourceFile = programDirectory programSource need [sourceFile] -- cgit v1.2.3