git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3646
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
MODULE = 'oglc'
SWIGFILES = ['ogl.i', 'oglbasic.i', 'oglshapes.i', 'oglshapes2.i', 'oglcanvas.i']
MODULE = 'oglc'
SWIGFILES = ['ogl.i', 'oglbasic.i', 'oglshapes.i', 'oglshapes2.i', 'oglcanvas.i']
OTHERCFLAGS = '-I$(WXWIN)/utils/ogl/src'
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'
#OTHERSWIGFLAGS = '-stat'
SWIGDEPS = '_ogldefs.i'