X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcomponent.cpp;h=f4c63a8dca5e06f71be5153e9c25b2d86194cea6;hb=91fb392b7303262274cbffeaad268c0a680f906d;hp=b486c6c36a45174c12dfa39146e42950e16a1418;hpb=92ab07ba1704c3d66dcc5e3e6a1c78e5d2738515;p=builder.git diff --git a/source/component.cpp b/source/component.cpp index b486c6c..f4c63a8 100644 --- a/source/component.cpp +++ b/source/component.cpp @@ -162,6 +162,9 @@ void Component::create_targets() const if(tool) { Target *src = tool->create_source(*this, *i); + if(!src) + continue; + if(tool->accepts_suffix(ext)) { Target *obj = tool->create_target(*src);