diff options
author | Brad Richardson <everythingfunctional@protonmail.com> | 2020-09-27 15:25:13 -0500 |
---|---|---|
committer | Brad Richardson <everythingfunctional@protonmail.com> | 2020-09-27 15:25:13 -0500 |
commit | d653c11d6445a9744d5cbd10c9f0ffbac9922a7d (patch) | |
tree | 3c755f330fc615315b0a9d949d9e61a4eda7131b /bootstrap/src/Build.hs | |
parent | a42775d3ace284d8041d874bdfa7ce9eb947314f (diff) | |
download | fpm-d653c11d6445a9744d5cbd10c9f0ffbac9922a7d.tar.gz fpm-d653c11d6445a9744d5cbd10c9f0ffbac9922a7d.zip |
Fix test build issue hapenning on Windows
Diffstat (limited to 'bootstrap/src/Build.hs')
-rw-r--r-- | bootstrap/src/Build.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bootstrap/src/Build.hs b/bootstrap/src/Build.hs index ffbf264..cdcbb02 100644 --- a/bootstrap/src/Build.hs +++ b/bootstrap/src/Build.hs @@ -259,7 +259,7 @@ createSourceToObjectMap buildDirectory libraryDirectory sourceFile = sourceFileToObjectFile :: FilePath -> FilePath -> FilePath -> FilePath sourceFileToObjectFile buildDirectory libraryDirectory sourceFile = - buildDirectory + (foldl (</>) "" $ splitDirectories buildDirectory) </> map toLower (pathSeparatorsToUnderscores |