]> git.saurik.com Git - wxWidgets.git/commitdiff
added OpenGL libs for gcc and watcom (other don't require it)
authorVáclav Slavík <vslavik@fastmail.fm>
Thu, 17 Jul 2003 16:03:39 +0000 (16:03 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Thu, 17 Jul 2003 16:03:39 +0000 (16:03 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

build/bakefiles/opengl.bkl

index 25088ee47f2fc8d554af5cb18bf874c6efad0f93..56ed96378a2157e11ddad8426f975c9368edb7c7 100644 (file)
         <if cond="FORMAT=='autoconf'">
             <ldflags>$(EXTRALIBS_OPENGL)</ldflags>
         </if>
         <if cond="FORMAT=='autoconf'">
             <ldflags>$(EXTRALIBS_OPENGL)</ldflags>
         </if>
+        <!-- system libraries on windows: -->
+        <if cond="FORMAT!='autoconf'">
+            <if cond="COMPILER=='wat' or COMPILER=='gcc'">
+                <sys-lib>opengl32</sys-lib>
+                <sys-lib>glu32</sys-lib>
+            </if>
+        </if>        
     </dll>
     
     <lib id="gllib" template="wx_lib"
     </dll>
     
     <lib id="gllib" template="wx_lib"