]> git.tdb.fi Git - libs/core.git/blobdiff - Build
Move OS X main function to an overlay
[libs/core.git] / Build
diff --git a/Build b/Build
index c01f693c8a310a6261aa895991bccbd644cef9f3..aea04a16e0a12b39f8e30d3b945cfffa058d14c6 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"
        {
@@ -41,6 +38,10 @@ package "mspcore"
                {
                        overlay "windows";
                };
+               if_arch "darwin"
+               {
+                       overlay "osx";
+               };
                if_arch "!windows"
                {
                        overlay "unix";