aboutsummaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorBrad Richardson <everythingfunctional@protonmail.com>2020-09-27 15:25:13 -0500
committerBrad Richardson <everythingfunctional@protonmail.com>2020-09-27 15:25:13 -0500
commitd653c11d6445a9744d5cbd10c9f0ffbac9922a7d (patch)
tree3c755f330fc615315b0a9d949d9e61a4eda7131b /bootstrap
parenta42775d3ace284d8041d874bdfa7ce9eb947314f (diff)
downloadfpm-d653c11d6445a9744d5cbd10c9f0ffbac9922a7d.tar.gz
fpm-d653c11d6445a9744d5cbd10c9f0ffbac9922a7d.zip
Fix test build issue hapenning on Windows
Diffstat (limited to 'bootstrap')
-rw-r--r--bootstrap/src/Build.hs2
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