Link in pthread, dl and m on OS X.

This commit is contained in:
Christian Kamm
2008-08-29 14:11:20 +02:00
parent 0ccd7270fb
commit 8efe20f5f9

View File

@@ -151,7 +151,7 @@ int linkExecutable(const char* argv0)
}
// default libs
if(global.params.os == OSLinux)
if(global.params.os == OSLinux || global.params.os == OSMacOSX)
{
args.push_back("-lpthread");
args.push_back("-ldl");