From: Mikko Rasa Date: Fri, 24 May 2013 16:29:09 +0000 (+0300) Subject: The threads flag is more correct than specifying -lpthread directly X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=4ea380ecdfefe2b7f14737a72fc996ce0546393a;p=libs%2Fcore.git The threads flag is more correct than specifying -lpthread directly --- diff --git a/Build b/Build index c01f693..2aa78db 100644 --- a/Build +++ b/Build @@ -4,12 +4,9 @@ package "mspcore" description "Mikkosoft Productions core library"; require "sigc++-2.0"; - if_arch "!windows" + build_info { - build_info - { - library "pthread"; - }; + threads true; }; if_arch "linux" {