aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMilan Curcic <caomaco@gmail.com>2020-05-10 14:04:15 -0400
committerGitHub <noreply@github.com>2020-05-10 14:04:15 -0400
commitfd2bb76c81559e3c73efa1332d42a84008688bf1 (patch)
tree1e84a891bc151bd327cc399111f9dca8924ffecc /src
parent82d1465554676b8d0ae2137a3e044402bdf3d869 (diff)
parent5f1749731d754ae5d2da18b16c92ad62ec30bf7f (diff)
downloadfpm-fd2bb76c81559e3c73efa1332d42a84008688bf1.tar.gz
fpm-fd2bb76c81559e3c73efa1332d42a84008688bf1.zip
Merge pull request #76 from everythingfunctional/PrefixNameWithLib
Prefix library archive file names with lib
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 12b6bcd..2e471ec 100644
--- a/src/Build.hs
+++ b/src/Build.hs
@@ -162,7 +162,7 @@ buildLibrary libraryDirectory sourceExtensions buildDirectory compiler flags lib
otherModuleMaps <- mapM getLibraryModuleMap otherLibraryDirectories
let allModuleMaps =
moduleLookupMap `Map.union` foldl Map.union Map.empty otherModuleMaps
- let archiveFile = buildDirectory </> libraryName <.> "a"
+ let archiveFile = buildDirectory </> "lib" ++ libraryName <.> "a"
shake shakeOptions { shakeFiles = buildDirectory
, shakeChange = ChangeModtimeAndDigest
, shakeColor = True