diff options
author | Milan Curcic <caomaco@gmail.com> | 2020-05-10 14:04:15 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-10 14:04:15 -0400 |
commit | fd2bb76c81559e3c73efa1332d42a84008688bf1 (patch) | |
tree | 1e84a891bc151bd327cc399111f9dca8924ffecc | |
parent | 82d1465554676b8d0ae2137a3e044402bdf3d869 (diff) | |
parent | 5f1749731d754ae5d2da18b16c92ad62ec30bf7f (diff) | |
download | fpm-fd2bb76c81559e3c73efa1332d42a84008688bf1.tar.gz fpm-fd2bb76c81559e3c73efa1332d42a84008688bf1.zip |
Merge pull request #76 from everythingfunctional/PrefixNameWithLib
Prefix library archive file names with lib
-rw-r--r-- | src/Build.hs | 2 |
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 |