#include "builder.h"
#include "component.h"
#include "objectfile.h"
-#include "package.h"
+#include "sourcepackage.h"
#include "staticlibrary.h"
using namespace std;
{
const Component &comp=lib.get_component();
- argv.push_back(builder.get_tool("AR", lib.get_package()->get_arch()));
+ argv.push_back(builder.get_tool("AR", comp.get_package().get_arch()));
argv.push_back("rc");
argv.push_back(lib.get_name());