[QGIS Commit] r11568 - branches/Version-1_0/python
svn_qgis at osgeo.org
svn_qgis at osgeo.org
Sat Sep 5 14:15:30 EDT 2009
Author: kyngchaos
Date: 2009-09-05 14:15:30 -0400 (Sat, 05 Sep 2009)
New Revision: 11568
Modified:
branches/Version-1_0/python/configure.py.in
Log:
fix error on empty osx_archs
Modified: branches/Version-1_0/python/configure.py.in
===================================================================
--- branches/Version-1_0/python/configure.py.in 2009-09-05 15:47:54 UTC (rev 11567)
+++ branches/Version-1_0/python/configure.py.in 2009-09-05 18:15:30 UTC (rev 11568)
@@ -19,7 +19,7 @@
qt_libs.append("QtSql")
# possibility of universal build of bindings, if more than 1 arch
osx_archs = '@CMAKE_OSX_ARCHITECTURES@'
- if osx_archs [-1] == ';' :
+ if osx_archs and osx_archs [-1] == ';' :
osx_archs = osx_archs [:-1]
if osx_archs.count(';') > 0:
osx_universal = '@CMAKE_OSX_SYSROOT@'
More information about the QGIS-commit
mailing list