#----------------------------------------------------------------------
if CONTRIBS_INC:
- includes += [ CONTRIBS_INC ]
+ CONTRIBS_INC = [ CONTRIBS_INC ]
+else:
+ CONTRIBS_INC = []
+
#----------------------------------------------------------------------
# Define the GLCanvas extension module
ext = Extension('_glcanvas',
swig_sources,
- include_dirs = includes,
+ include_dirs = includes + CONTRIBS_INC,
define_macros = defines,
library_dirs = libdirs,
ext = Extension('_ogl',
swig_sources,
- include_dirs = includes + [ location ],
+ include_dirs = includes + [ location ] + CONTRIBS_INC,
define_macros = defines + [('wxUSE_DEPRECATED', '0')],
library_dirs = libdirs,
ext = Extension('_stc',
swig_sources,
- include_dirs = includes,
+ include_dirs = includes + CONTRIBS_INC,
define_macros = defines,
library_dirs = libdirs,
'%s/wxactivex.cpp' % location,
] + swig_sources,
- include_dirs = includes,
+ include_dirs = includes + CONTRIBS_INC,
define_macros = defines,
library_dirs = libdirs,
ext = Extension('_xrc',
swig_sources,
- include_dirs = includes,
+ include_dirs = includes + CONTRIBS_INC,
define_macros = defines,
library_dirs = libdirs,
ext = Extension('_gizmos',
[ '%s/treelistctrl.cpp' % location ] + swig_sources,
- include_dirs = includes + [ location ],
+ include_dirs = includes + [ location ] + CONTRIBS_INC,
define_macros = defines,
library_dirs = libdirs,
'%s/dllwidget.cpp' % location,
] + swig_sources,
- include_dirs = includes,
+ include_dirs = includes + CONTRIBS_INC,
define_macros = defines,
library_dirs = libdirs,