]> git.tdb.fi Git - builder.git/blobdiff - source/archive.cpp
Add Id tag to all files
[builder.git] / source / archive.cpp
index 11c633c39da54539d2fdd827cb831a8556aea2b3..b6c9582b5e62502b0e735c24b058c9a474528953 100644 (file)
@@ -1,3 +1,10 @@
+/* $Id$
+
+This file is part of builder
+Copyright © 2006-2007 Mikko Rasa, Mikkosoft Productions
+Distributed under the LGPL
+*/
+
 #include <msp/path/utils.h>
 #include "archive.h"
 #include "builder.h"
@@ -14,7 +21,7 @@ Archive::Archive(Builder &b, const StaticLibrary &lib):
 {
        const Component &comp=lib.get_component();
 
-       argv.push_back("ar");
+       argv.push_back(builder.get_tool("AR", lib.get_package()->get_arch()));
        argv.push_back("rc");
 
        argv.push_back(lib.get_name());