X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Flib%2Ftarget.cpp;h=f99b0bc4165d1f4c342ebf9c9127159b90ca4bd2;hb=cf23d115a29fc143fe367ca57097fa82f7cb9a34;hp=f13afb8d07bb68c8da074a217dbd6c6bbd5ee293;hpb=2c42374a95a76dcb28eaf3e5d85d321fafe62b38;p=builder.git diff --git a/source/lib/target.cpp b/source/lib/target.cpp index f13afb8..f99b0bc 100644 --- a/source/lib/target.cpp +++ b/source/lib/target.cpp @@ -122,6 +122,8 @@ void Target::prepare() } state = PREPARING; + if(primary_target) + primary_target->prepare(); /* Prepare existing dependencies early, because their information may be needed to find other dependencies. */ for(Target *d: depends)