X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fgnuobjccompiler.cpp;h=16e5215c1c0d6528e9c12c7a4ef5a004d56d5bf5;hb=69cd5cc73f466181420711fb907979de58687a4c;hp=eddca5ff9a5de66b88fe6f40d90cbc8831d0f0b0;hpb=7bcd4fef81679dedcabc5a58b12511a6b52c4fe4;p=builder.git diff --git a/source/gnuobjccompiler.cpp b/source/gnuobjccompiler.cpp index eddca5f..16e5215 100644 --- a/source/gnuobjccompiler.cpp +++ b/source/gnuobjccompiler.cpp @@ -3,11 +3,12 @@ using namespace Msp; -GnuObjCCompiler::GnuObjCCompiler(Builder &b, const Architecture &a): - GnuCompiler(b, a, "OBJC") +GnuObjCCompiler::GnuObjCCompiler(Builder &b, const Architecture &a, const FS::Path &sysroot): + GnuCompiler(b, a, "OBJC", sysroot) { set_command("gcc", true); input_suffixes.push_back(".m"); + build_info.libs.push_back("objc"); } Target *GnuObjCCompiler::create_source(const Component &comp, const FS::Path &path) const