mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-16 21:03:14 +01:00
Do only link to libpthread, libm and libdl on Linux.
This commit is contained in:
@@ -150,9 +150,12 @@ int linkExecutable(const char* argv0)
|
||||
}
|
||||
|
||||
// default libs
|
||||
args.push_back("-lpthread");
|
||||
args.push_back("-ldl");
|
||||
args.push_back("-lm");
|
||||
if(global.params.isLinux)
|
||||
{
|
||||
args.push_back("-lpthread");
|
||||
args.push_back("-ldl");
|
||||
args.push_back("-lm");
|
||||
}
|
||||
|
||||
// object files
|
||||
for (int i = 0; i < global.params.objfiles->dim; i++)
|
||||
|
||||
Reference in New Issue
Block a user