simplify osx_archs trimming

git-svn-id: http://svn.osgeo.org/qgis/trunk@11575 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
kyngchaos 2009-09-05 19:56:28 +00:00
parent 242d769938
commit 0f11b58013

View File

@ -15,8 +15,7 @@ if sys.platform == 'darwin':
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: