From: Robin Dunn Date: Mon, 13 Sep 1999 17:46:50 +0000 (+0000) Subject: Now setting the right library switches for both platforms... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/5454a9276b7a0d8a6f0e2958e1cec94d3621ceb5 Now setting the right library switches for both platforms... git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/utils/wxPython/modules/ogl/build.cfg b/utils/wxPython/modules/ogl/build.cfg index cc9d54edf1..3e400a81ec 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'