Commit 99059691 authored by Ronald Oussoren's avatar Ronald Oussoren

Update the fix for issue4064 to deal correctly with all three variants of

universal builds that are presented by the configure script.
parent d2c6eebc
......@@ -140,9 +140,13 @@ def get_platform ():
# 'universal' instead of 'fat'.
machine = 'fat'
cflags = get_config_vars().get('CFLAGS')
if '-arch x86_64' in get_config_vars().get('CFLAGS'):
machine = 'universal'
if '-arch x86_64' in cflags:
if '-arch i386' in cflags:
machine = 'universal'
else:
machine = 'fat64'
elif machine in ('PowerPC', 'Power_Macintosh'):
# Pick a sane name for the PPC architecture.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment