]> git.tdb.fi Git - builder.git/blobdiff - source/staticlibrary.cpp
Better encapsulation of config inside Package
[builder.git] / source / staticlibrary.cpp
index df0cc7cb5811e9b2386f7fa398d9356a91ab1906..529aacc193aea8bb30acd58125d99ece41faa32f 100644 (file)
@@ -22,5 +22,5 @@ Action *StaticLibrary::build()
 
 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();
 }