From 0f11b5801393f9dfcd4d7619fefd145ad258268b Mon Sep 17 00:00:00 2001 From: kyngchaos Date: Sat, 5 Sep 2009 19:56:28 +0000 Subject: [PATCH] simplify osx_archs trimming git-svn-id: http://svn.osgeo.org/qgis/trunk@11575 c8812cc2-4d05-0410-92ff-de0c093fc19c --- python/configure.py.in | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/python/configure.py.in b/python/configure.py.in index 7fcd37bcb22..c328a345c0e 100644 --- a/python/configure.py.in +++ b/python/configure.py.in @@ -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: