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
This commit is contained in:
parent
6b5286d112
commit
5454a9276b
@ -1,4 +1,5 @@
|
|||||||
# -*- python -*-
|
# -*- python -*-
|
||||||
|
import sys
|
||||||
|
|
||||||
MODULE = 'oglc'
|
MODULE = 'oglc'
|
||||||
SWIGFILES = ['ogl.i', 'oglbasic.i', 'oglshapes.i', 'oglshapes2.i', 'oglcanvas.i']
|
SWIGFILES = ['ogl.i', 'oglbasic.i', 'oglshapes.i', 'oglshapes2.i', 'oglcanvas.i']
|
||||||
@ -6,7 +7,11 @@ SOURCES = ['oglhelpers.cpp']
|
|||||||
|
|
||||||
|
|
||||||
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'
|
#OTHERSWIGFLAGS = '-stat'
|
||||||
SWIGDEPS = '_ogldefs.i'
|
SWIGDEPS = '_ogldefs.i'
|
||||||
|
Loading…
Reference in New Issue
Block a user