Skip to content

Commit 0f11b58

Browse files
author
kyngchaos
committed
simplify osx_archs trimming
git-svn-id: http://svn.osgeo.org/qgis/trunk@11575 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 242d769 commit 0f11b58

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

python/configure.py.in

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ if sys.platform == 'darwin':
1515
qt_libs.append("QtSql")
1616
# possibility of universal build of bindings, if more than 1 arch
1717
osx_archs = '@CMAKE_OSX_ARCHITECTURES@'
18-
if osx_archs and osx_archs [-1] == ';' :
19-
osx_archs = osx_archs [:-1]
18+
osx_archs = osx_archs.strip(';')
2019
if osx_archs.count(';') > 0:
2120
osx_universal = '@CMAKE_OSX_SYSROOT@'
2221
else:

0 commit comments

Comments
 (0)