mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-20 23:03:14 +01:00
Link in pthread, dl and m on OS X.
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user