Boost logo

Boost-Commit :

From: grafikrobot_at_[hidden]
Date: 2007-09-29 14:30:08


Author: grafik
Date: 2007-09-29 14:30:06 EDT (Sat, 29 Sep 2007)
New Revision: 39608
URL: http://svn.boost.org/trac/boost/changeset/39608

Log:
Fix action multi-generation for case when there are no targets for the action.
Text files modified:
   trunk/tools/jam/src/compile.c | 1 +
   1 files changed, 1 insertions(+), 0 deletions(-)

Modified: trunk/tools/jam/src/compile.c
==============================================================================
--- trunk/tools/jam/src/compile.c (original)
+++ trunk/tools/jam/src/compile.c 2007-09-29 14:30:06 EDT (Sat, 29 Sep 2007)
@@ -1016,6 +1016,7 @@
         /* Make targets[1,N-1] depend on targets[0], to describe the multply
             generated targets for the rule. Do it with includes, to reflect
             non-build dependency. */
+ if ( action->targets )
         {
             TARGET * t0 = action->targets->target;
             for ( t = action->targets->next; t; t = t->next )


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk