]> git.tdb.fi Git - builder.git/blobdiff - source/pkgconfiggenerator.cpp
Move the bpk files into a subdirectory and install them
[builder.git] / source / pkgconfiggenerator.cpp
index b4ba545249110d1340bf0bb99460bb07cea51458..b60eec44f59535f17257c6189c099044a620ba15 100644 (file)
@@ -13,7 +13,7 @@ PkgConfigGenerator::PkgConfigGenerator(Builder &b):
 {
 }
 
-Target *PkgConfigGenerator::create_target(const list<Target *> &, const string &) const
+Target *PkgConfigGenerator::create_target(const list<Target *> &, const string &)
 {
        throw logic_error("Not implemented");
 }
@@ -46,7 +46,7 @@ void PkgConfigGenerator::Worker::main()
        IO::print(out, "Requires:");
        const Package::Requirements &reqs = spkg.get_required_packages();
        for(Package::Requirements::const_iterator i=reqs.begin(); i!=reqs.end(); ++i)
-               if((*i)->get_use_pkgconfig())
+               if((*i)->uses_pkgconfig())
                        IO::print(out, " %s", (*i)->get_name());
        out.put('\n');