+/* $Id$
+
+This file is part of builder
+Copyright © 2006-2007 Mikko Rasa, Mikkosoft Productions
+Distributed under the LGPL
+*/
+
#include "archive.h"
#include "component.h"
#include "objectfile.h"
string StaticLibrary::generate_target_name(const Component &c)
{
- return (c.get_package().get_source()/("lib"+c.get_name()+".a")).str();
+ return (c.get_package().get_out_dir()/("lib"+c.get_name()+".a")).str();
}