X-Git-Url: http://git.tdb.fi/?p=builder.git;a=blobdiff_plain;f=source%2Fbuilder.cpp;h=92475869235ea98d8139151f83d7145eb31297d5;hp=3776e36ef169dc09db238d2630a16f051cc17de5;hb=217889f81407de43d8de469ad93e05b7d334ae0c;hpb=9fe1e6827bba49c102f0186904922ca0a78852c6 diff --git a/source/builder.cpp b/source/builder.cpp index 3776e36..9247586 100644 --- a/source/builder.cpp +++ b/source/builder.cpp @@ -77,7 +77,7 @@ void Builder::set_temp_directory(const FS::Path &p) void Builder::add_default_tools() { - if(current_arch->get_system()=="darwin") + if(current_arch->get_system()=="darwin" && vfs.find_binary("clang")) toolchain.add_toolchain(new ClangTools(*this, *current_arch)); if(current_arch->get_system()=="android") toolchain.add_toolchain(new AndroidTools(*this, *current_arch));