X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Flib%2Ftarget.cpp;h=f99b0bc4165d1f4c342ebf9c9127159b90ca4bd2;hb=9c2bb20163b1dc5b17c46086a744ec117433248c;hp=f13afb8d07bb68c8da074a217dbd6c6bbd5ee293;hpb=55f77a38bf5ce6572ff88477ab2fc06e482b8856;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)