Fix for issue 9164

This commit is contained in:
Ronald Oussoren 2010-07-11 09:29:09 +00:00
parent 5fd8785567
commit 725443fef9
1 changed files with 1 additions and 2 deletions

View File

@ -143,8 +143,7 @@ def get_platform ():
cflags = get_config_vars().get('CFLAGS')
archs = re.findall('-arch\s+(\S+)', cflags)
archs.sort()
archs = tuple(archs)
archs = tuple(sorted(set(archs)))
if len(archs) == 1:
machine = archs[0]