# -*- python -*-
+import sys
MODULE = 'oglc'
SWIGFILES = ['ogl.i', 'oglbasic.i', 'oglshapes.i', 'oglshapes2.i', 'oglcanvas.i']
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'
# There are no platform differences so we don't need separate code directories
GENCODEDIR='.'
+SWIGTOOLKITFLAG=''