From 3f5c3af2b5d334e62190a59b2551fc2851282fae Mon Sep 17 00:00:00 2001 From: Brad Richardson Date: Thu, 11 Jun 2020 14:42:10 -0700 Subject: Fix ordering for library archive list --- src/Fpm.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Fpm.hs b/src/Fpm.hs index e823e7f..2caf6e4 100644 --- a/src/Fpm.hs +++ b/src/Fpm.hs @@ -569,7 +569,7 @@ buildDependencies -> IO [(FilePath, FilePath)] buildDependencies buildPrefix compiler flags dependencies = do built <- concatMapM (buildDependency buildPrefix compiler flags) dependencies - return $ nub built + return $ reverse (nub (reverse built)) buildDependency :: String -> String -> [String] -> DependencyTree -> IO [(FilePath, FilePath)] -- cgit v1.2.3