aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Richardson <brichardson@structint.com>2020-05-09 21:14:25 -0700
committerBrad Richardson <brichardson@structint.com>2020-05-09 21:14:25 -0700
commit5f1749731d754ae5d2da18b16c92ad62ec30bf7f (patch)
tree1e84a891bc151bd327cc399111f9dca8924ffecc
parent82d1465554676b8d0ae2137a3e044402bdf3d869 (diff)
downloadfpm-5f1749731d754ae5d2da18b16c92ad62ec30bf7f.tar.gz
fpm-5f1749731d754ae5d2da18b16c92ad62ec30bf7f.zip
Prefix library archive file names with lib
-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