Commit 5aa3addc authored by Andrey Mokhov's avatar Andrey Mokhov
Browse files

Remove old library files before calling Ar.

parent 2143dce7
......@@ -22,4 +22,5 @@ buildPackageLibrary (Package _ path _) (stage, dist, _) =
depObjs <- pkgDepObjects path dist way
need depObjs
libObjs <- pkgLibObjects path dist stage way
liftIO $ removeFiles "" [out]
terseRun Ar $ arArgs <+> out <+> libObjs
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment