From 8efe20f5f989b8ae1ef4c7430935f4db824b0f0d Mon Sep 17 00:00:00 2001 From: Christian Kamm Date: Fri, 29 Aug 2008 14:11:20 +0200 Subject: [PATCH] Link in pthread, dl and m on OS X. --- gen/linker.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gen/linker.cpp b/gen/linker.cpp index 399c0a39..2b2a2801 100644 --- a/gen/linker.cpp +++ b/gen/linker.cpp @@ -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");