aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Build.hs2
1 files changed, 1 insertions, 1 deletions
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]