]> git.tdb.fi Git - libs/core.git/commitdiff
The threads flag is more correct than specifying -lpthread directly
authorMikko Rasa <tdb@tdb.fi>
Fri, 24 May 2013 16:29:09 +0000 (19:29 +0300)
committerMikko Rasa <tdb@tdb.fi>
Wed, 29 May 2013 08:45:43 +0000 (11:45 +0300)
Build

diff --git a/Build b/Build
index c01f693c8a310a6261aa895991bccbd644cef9f3..2aa78db278ab0674dfd1509fa88f91eebc803b8f 100644 (file)
--- 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"
        {