|
@@ -24,17 +24,17 @@ libs = ['grass_gis',
|
|
'grass_g3d']
|
|
'grass_g3d']
|
|
extras = []
|
|
extras = []
|
|
|
|
|
|
-for flag in ('GDALCFLAGS',
|
|
|
|
|
|
+for flag in ['GDALCFLAGS',
|
|
'GDALLIBS',
|
|
'GDALLIBS',
|
|
'WXWIDGETSCXXFLAGS',
|
|
'WXWIDGETSCXXFLAGS',
|
|
'OPENGLINC',
|
|
'OPENGLINC',
|
|
'OPENGLLIB',
|
|
'OPENGLLIB',
|
|
- 'OPENGLULIB'):
|
|
|
|
|
|
+ 'OPENGLULIB']:
|
|
update_opts(flag, macros, inc_dirs, lib_dirs, libs, extras)
|
|
update_opts(flag, macros, inc_dirs, lib_dirs, libs, extras)
|
|
if sys.platform != 'darwin':
|
|
if sys.platform != 'darwin':
|
|
update_opts('WXWIDGETSLIB', macros, inc_dirs, lib_dirs, libs, extras)
|
|
update_opts('WXWIDGETSLIB', macros, inc_dirs, lib_dirs, libs, extras)
|
|
if variables['OPENGL_X11'] == '1':
|
|
if variables['OPENGL_X11'] == '1':
|
|
- for flag in ('XCFLAGS', 'XMINC'):
|
|
|
|
|
|
+ for flag in ['XCFLAGS']:
|
|
update_opts(flag, macros, inc_dirs, lib_dirs, libs, extras)
|
|
update_opts(flag, macros, inc_dirs, lib_dirs, libs, extras)
|
|
|
|
|
|
setup(
|
|
setup(
|