diff options
author | Brad Richardson <brichardson@structint.com> | 2020-05-09 21:14:25 -0700 |
---|---|---|
committer | Brad Richardson <brichardson@structint.com> | 2020-05-09 21:14:25 -0700 |
commit | 5f1749731d754ae5d2da18b16c92ad62ec30bf7f (patch) | |
tree | 1e84a891bc151bd327cc399111f9dca8924ffecc /src/Build.hs | |
parent | 82d1465554676b8d0ae2137a3e044402bdf3d869 (diff) | |
download | fpm-5f1749731d754ae5d2da18b16c92ad62ec30bf7f.tar.gz fpm-5f1749731d754ae5d2da18b16c92ad62ec30bf7f.zip |
Prefix library archive file names with lib
Diffstat (limited to 'src/Build.hs')
-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 |