+/* $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"
{
const Component &comp=lib.get_component();
- const string &prefix=b.get_arch_prefix(lib.get_package()->get_arch());
-
- argv.push_back(prefix+"ar");
+ argv.push_back(builder.get_tool("AR", lib.get_package()->get_arch()));
argv.push_back("rc");
argv.push_back(lib.get_name());