]> git.tdb.fi Git - libs/gui.git/blobdiff - Build
Win32 compatibility (for most things)
[libs/gui.git] / Build
diff --git a/Build b/Build
index 612f9be5a84e998326dba0f9ba37dadde3938513..19c48cb3844b50c40b81d249e670f04a04aa05a0 100644 (file)
--- a/Build
+++ b/Build
@@ -7,7 +7,24 @@ package "mspgbase"
 
        require "mspcore";
        require "sigc++-2.0";
-       require "Xlib";
+       // The OpenGL stuff is hackish, but only way to do it right now
+       if "arch!=win32"
+       {
+               require "xlib";
+               require "opengl";
+               build_info
+               {
+                       library "Xxf86vm";
+               };
+       };
+       if "arch=win32"
+       {
+               build_info
+               {
+                       library "opengl32";
+                       library "gdi32";
+               };
+       };
 
        library "mspgbase"
        {