]> git.tdb.fi Git - builder.git/blobdiff - source/staticlibrary.cpp
Improve automatic package finding to detect directories with version number
[builder.git] / source / staticlibrary.cpp
index 54fd7926f3e0c644bb62a2a464e21135176f1321..9a35677efcd3891d1a61e097e15e57016fbd6529 100644 (file)
@@ -8,7 +8,7 @@ Distributed under the LGPL
 #include "archive.h"
 #include "component.h"
 #include "objectfile.h"
-#include "package.h"
+#include "sourcepackage.h"
 #include "staticlibrary.h"
 
 using namespace std;
@@ -22,9 +22,9 @@ StaticLibrary::StaticLibrary(Builder &b, const Component &c, const std::list<Obj
                add_depend(*i);
 }
 
-Action *StaticLibrary::build()
+Action *StaticLibrary::create_action()
 {
-       return Target::build(new Archive(builder, *this));;
+       return new Archive(builder, *this);
 }
 
 string StaticLibrary::generate_target_name(const Component &c)