]> git.tdb.fi Git - builder.git/commitdiff
Process transitive dependencies for buildable dependencies too
authorMikko Rasa <tdb@tdb.fi>
Fri, 5 Jan 2024 14:24:47 +0000 (16:24 +0200)
committerMikko Rasa <tdb@tdb.fi>
Fri, 5 Jan 2024 14:24:47 +0000 (16:24 +0200)
They may get resolved to an installed location.

source/lib/target.cpp

index 0d823eef6618814c01043f9a71805b562ccad536..b7aa0dcf6cb97b62deeb1623daf05f1b570070a4 100644 (file)
@@ -52,8 +52,7 @@ bool Target::find_transitive_dependencies()
 {
        vector<Target *> found_deps;
        for(Target *d: depends)
-               if(!d->is_buildable())
-                       find_transitive_dependencies(*d, found_deps);
+               find_transitive_dependencies(*d, found_deps);
 
        bool any_added = false;
        for(Target *d: found_deps)