]> git.tdb.fi Git - builder.git/blobdiff - source/pkgconfiggenerator.cpp
Set success status at the end of PkgConfigGenerator's worker
[builder.git] / source / pkgconfiggenerator.cpp
index 555d8c56db797bc5fda9e2e72842bcea4726fc51..91d101da440cc4aee56358ba6f81674f8cdf86d1 100644 (file)
@@ -28,9 +28,7 @@ Task *PkgConfigGenerator::run(const Target &target) const
 
 PkgConfigGenerator::Worker::Worker(const PkgConfig &t):
        target(t)
-{
-       launch();
-}
+{ }
 
 void PkgConfigGenerator::Worker::main()
 {
@@ -71,4 +69,6 @@ void PkgConfigGenerator::Worker::main()
                else
                        IO::print(out, " -D%s=%s", i->first, i->second);
        out.put('\n');
+
+       status = Task::SUCCESS;
 }