X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Flink.cpp;h=8b4c56421089e34d8bee43ffbd378c28cfb1566d;hb=4fcc283a4bb1f695bd124006906bcdaba053193f;hp=96089da8b58116ee24d95b9d57171bca04d0cd8c;hpb=63adab21a6f229f434b41eb59c5718fdc3c37b15;p=builder.git diff --git a/source/link.cpp b/source/link.cpp index 96089da..8b4c564 100644 --- a/source/link.cpp +++ b/source/link.cpp @@ -9,9 +9,11 @@ using namespace std; using namespace Msp; -Link::Link(Builder &b, const Executable &exe, const Component &comp): +Link::Link(Builder &b, const Executable &exe): ExternalAction(b) { + const Component &comp=exe.get_component(); + argv.push_back("g++"); if(comp.get_type()==Component::LIBRARY)