aboutsummaryrefslogtreecommitdiff
path: root/src/rule.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/rule.cpp')
-rw-r--r--src/rule.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rule.cpp b/src/rule.cpp
index c5ed1c2..3ba4303 100644
--- a/src/rule.cpp
+++ b/src/rule.cpp
@@ -98,14 +98,14 @@ StringList Rule::execute( Build &bld, StringList &lInput, PerformList &lPerf )
98 for( PerformList::iterator k = lPerform.begin(); 98 for( PerformList::iterator k = lPerform.begin();
99 k != lPerform.end(); k++ ) 99 k != lPerform.end(); k++ )
100 { 100 {
101 Perform *p = (*k)->duplicate( bld, (*i), &mTmp ); 101 Perform *p = (*k)->duplicate( bld, target, &mTmp );
102 p->setTarget( target ); 102 p->setTarget( target );
103 p->setRule( sName ); 103 p->setRule( sName );
104 for( FunctionList::iterator f = lReqFuncs.begin(); 104 for( FunctionList::iterator f = lReqFuncs.begin();
105 f != lReqFuncs.end(); f++ ) 105 f != lReqFuncs.end(); f++ )
106 { 106 {
107 p->getReqFuncs().push_back( 107 p->getReqFuncs().push_back(
108 (*f)->duplicate( bld, (*i), &mTmp ) 108 (*f)->duplicate( bld, target, &mTmp )
109 ); 109 );
110 } 110 }
111 lPerf.push_back( p ); 111 lPerf.push_back( p );