X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e91a9dfcc3589df1d3577bb8d4695f269405a52b..e19b71646053a07255b308b24321837f8ea76176:/utils/wxPython/modules/ogl/build.cfg diff --git a/utils/wxPython/modules/ogl/build.cfg b/utils/wxPython/modules/ogl/build.cfg index cc9d54edf1..ad2c8dae6d 100644 --- a/utils/wxPython/modules/ogl/build.cfg +++ b/utils/wxPython/modules/ogl/build.cfg @@ -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' @@ -15,3 +20,4 @@ OTHERDEPS = 'oglhelpers.h $(WXPSRCDIR)/helpers.h' # There are no platform differences so we don't need separate code directories GENCODEDIR='.' +SWIGTOOLKITFLAG=''