[GRASS-SVN] r37620 - in grass/branches/develbranch_6/gui/wxpython:
nviz vdigit
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat May 30 11:39:58 EDT 2009
Author: kyngchaos
Date: 2009-05-30 11:39:58 -0400 (Sat, 30 May 2009)
New Revision: 37620
Modified:
grass/branches/develbranch_6/gui/wxpython/nviz/setup.py
grass/branches/develbranch_6/gui/wxpython/vdigit/setup.py
Log:
don't link wx libs for OSX, X include paths only for OpenGL X11
Modified: grass/branches/develbranch_6/gui/wxpython/nviz/setup.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/nviz/setup.py 2009-05-30 15:30:25 UTC (rev 37619)
+++ grass/branches/develbranch_6/gui/wxpython/nviz/setup.py 2009-05-30 15:39:58 UTC (rev 37620)
@@ -27,12 +27,15 @@
for flag in ('GDALCFLAGS',
'GDALLIBS',
'WXWIDGETSCXXFLAGS',
- 'WXWIDGETSLIB',
- 'XCFLAGS',
- 'XMINC',
+ '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/branches/develbranch_6/gui/wxpython/vdigit/setup.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/vdigit/setup.py 2009-05-30 15:30:25 UTC (rev 37619)
+++ grass/branches/develbranch_6/gui/wxpython/vdigit/setup.py 2009-05-30 15:39:58 UTC (rev 37620)
@@ -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