]> git.saurik.com Git - wxWidgets.git/commitdiff
Now setting the right library switches for both platforms...
authorRobin Dunn <robin@alldunn.com>
Mon, 13 Sep 1999 17:46:50 +0000 (17:46 +0000)
committerRobin Dunn <robin@alldunn.com>
Mon, 13 Sep 1999 17:46:50 +0000 (17:46 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

utils/wxPython/modules/ogl/build.cfg

index cc9d54edf122cf600671bcf6dacec1fb035f73d5..3e400a81ecb89b78ccef36963e8424942a38f0ea 100644 (file)
@@ -1,4 +1,5 @@
 # -*- python -*-
+import sys
 
 MODULE = 'oglc'
 SWIGFILES = ['ogl.i', 'oglbasic.i', 'oglshapes.i', 'oglshapes2.i', 'oglcanvas.i']
@@ -6,7 +7,11 @@ SOURCES = ['oglhelpers.cpp']
 
 
 OTHERCFLAGS = '-I$(WXWIN)/utils/ogl/src'
-OTHERLIBS = '$(WXWIN)/lib/ogl$(LIBEXT).lib'
+
+if sys.platform == 'win32':
+    OTHERLIBS = '$(WXWIN)/lib/ogl$(LIBEXT).lib'
+else:
+    OTHERLIBS = '-logl'
 
 #OTHERSWIGFLAGS = '-stat'
 SWIGDEPS = '_ogldefs.i'