netbsd changes

This commit is contained in:
Nick Tolstokulakov 2016-01-16 04:38:11 +00:00 committed by Charlie Root
parent d3da2391ed
commit 556e3a691f
3 changed files with 10 additions and 5 deletions

View file

@ -175,6 +175,7 @@ static int linkObjToBinaryGcc(bool sharedLib, bool fullyStatic) {
args.push_back("-ldl");
// fallthrough
case llvm::Triple::FreeBSD:
case llvm::Triple::NetBSD:
addSoname = true;
args.push_back("-lpthread");
args.push_back("-lm");