]> git.saurik.com Git - wxWidgets.git/blobdiff - build/bakefiles/opengl.bkl
fix for creation of shared libraries under AIX with gcc
[wxWidgets.git] / build / bakefiles / opengl.bkl
index 2d5353c6372c80595320434884abc775e6d113e6..d3bc51c5beabd1175a385058eed3e9065dc9ebdc 100644 (file)
         <!-- link against base and core libs in multilib build: --> 
         <sys-lib>$(WXLIBGLDEP_CORE)</sys-lib>
         <sys-lib>$(WXLIBGLDEP_BASE)</sys-lib>
+        <depends>basedll</depends>
+        <depends>coredll</depends>
         <!-- link against the wxWin library in monolithic build: -->
         <sys-lib>$(WXLIB_MONO)</sys-lib>
 
-        <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>        
+        <ldlibs>$(EXTRALIBS_OPENGL)</ldlibs>
     </dll>
     
     <lib id="gllib" template="wx_lib"