From 5f1749731d754ae5d2da18b16c92ad62ec30bf7f Mon Sep 17 00:00:00 2001 From: Brad Richardson Date: Sat, 9 May 2020 21:14:25 -0700 Subject: Prefix library archive file names with lib --- src/Build.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.2.3