[mach-o] Fix missing { }

llvm-svn: 217411
This commit is contained in:
Nick Kledzik 2014-09-09 02:20:32 +00:00
parent b3482af341
commit 1944bb6cf9
1 changed files with 2 additions and 1 deletions

View File

@ -542,9 +542,10 @@ bool DarwinLdDriver::parse(int argc, const char *argv[],
diagnostics << "warning: -multi_module is obsolete and being ignored\n";
}
else {
if (ctx.outputMachOType() != llvm::MachO::MH_DYLIB)
if (ctx.outputMachOType() != llvm::MachO::MH_DYLIB) {
diagnostics << "-single_module only used when creating a dylib\n";
return false;
}
}
}