[GRASS-SVN] r37622 - in grass/trunk/gui/wxpython: nviz vdigit
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat May 30 11:44:27 EDT 2009
Author: kyngchaos
Date: 2009-05-30 11:44:27 -0400 (Sat, 30 May 2009)
New Revision: 37622
Modified:
grass/trunk/gui/wxpython/nviz/setup.py
grass/trunk/gui/wxpython/vdigit/setup.py
Log:
don't link wx libs for OSX, X include paths only for OpenGL X11 (from dev6 r37620)
Modified: grass/trunk/gui/wxpython/nviz/setup.py
===================================================================
--- grass/trunk/gui/wxpython/nviz/setup.py 2009-05-30 15:42:52 UTC (rev 37621)
+++ grass/trunk/gui/wxpython/nviz/setup.py 2009-05-30 15:44:27 UTC (rev 37622)
@@ -27,11 +27,15 @@
for flag in ('GDALCFLAGS',
'GDALLIBS',
'WXWIDGETSCXXFLAGS',
- 'WXWIDGETSLIB',
- 'XCFLAGS',
+ 'OPENGLINC',
'OPENGLLIB',
'OPENGLULIB'):
update_opts(flag, macros, inc_dirs, lib_dirs, libs, extras)
+if sys.platform != 'darwin':
+ update_opts('WXWIDGETSLIB', macros, inc_dirs, lib_dirs, libs, extras)
+if variables['OPENGL_X11'] == '1':
+ for flag in ('XCFLAGS', 'XMINC'):
+ update_opts(flag, macros, inc_dirs, lib_dirs, libs, extras)
setup(
ext_modules= [
Modified: grass/trunk/gui/wxpython/vdigit/setup.py
===================================================================
--- grass/trunk/gui/wxpython/vdigit/setup.py 2009-05-30 15:42:52 UTC (rev 37621)
+++ grass/trunk/gui/wxpython/vdigit/setup.py 2009-05-30 15:44:27 UTC (rev 37622)
@@ -28,9 +28,10 @@
for flag in ('GDALCFLAGS',
'GDALLIBS',
'GEOSCFLAGS',
- 'WXWIDGETSCXXFLAGS',
- 'WXWIDGETSLIB'):
+ 'WXWIDGETSCXXFLAGS'):
update_opts(flag, macros, inc_dirs, lib_dirs, libs, extras)
+if sys.platform != 'darwin':
+ update_opts('WXWIDGETSLIB', macros, inc_dirs, lib_dirs, libs, extras)
setup(
ext_modules= [
More information about the grass-commit
mailing list