]> git.tdb.fi Git - libs/gl.git/commitdiff
OpenGL can now be required as a package on all archs
authorMikko Rasa <tdb@tdb.fi>
Wed, 19 Mar 2008 12:00:25 +0000 (12:00 +0000)
committerMikko Rasa <tdb@tdb.fi>
Wed, 19 Mar 2008 12:00:25 +0000 (12:00 +0000)
Build

diff --git a/Build b/Build
index cc0de245bd23b79f129703c769d0b6cd5a16ae0d..829b15f5d87f331f12bf9800df6513553cd2a692 100644 (file)
--- a/Build
+++ b/Build
@@ -5,21 +5,10 @@ package "mspgl"
        description "C++ wrappers for OpenGL";
        version "0.1";
 
-       feature "devil" "Include DevIL support for loading image files";
-
-       // A bit of a hack until I get something better in builder
-       if "arch!=win32"
-       {
-               require "opengl";
-       };
-       if "arch=win32"
-       {
-               build_info
-               {
-                       library "opengl32";
-               };
-       };
        require "mspdatafile";
+       require "opengl";
+
+       feature "devil" "Include DevIL support for loading image files";
        if "with_devil"
        {
                require "devil";