[QGIS Commit] r11576 - branches/Version-1_0/python
svn_qgis at osgeo.org
svn_qgis at osgeo.org
Sat Sep 5 15:57:18 EDT 2009
Author: kyngchaos
Date: 2009-09-05 15:57:18 -0400 (Sat, 05 Sep 2009)
New Revision: 11576
Modified:
branches/Version-1_0/python/configure.py.in
Log:
simplify osx_archs trimming (from trunk)
Modified: branches/Version-1_0/python/configure.py.in
===================================================================
--- branches/Version-1_0/python/configure.py.in 2009-09-05 19:56:28 UTC (rev 11575)
+++ branches/Version-1_0/python/configure.py.in 2009-09-05 19:57:18 UTC (rev 11576)
@@ -19,8 +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 and osx_archs [-1] == ';' :
- osx_archs = osx_archs [:-1]
+ osx_archs = osx_archs.strip(';')
if osx_archs.count(';') > 0:
osx_universal = '@CMAKE_OSX_SYSROOT@'
else:
More information about the QGIS-commit
mailing list