We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 883dfc6 commit 9bdd6d1Copy full SHA for 9bdd6d1
1 file changed
Mac/BuildScript/build-installer.py
@@ -1207,7 +1207,8 @@ def buildPython():
1207
if ln.startswith('VERSION='):
1208
VERSION=ln.split()[1]
1209
if ln.startswith('ABIFLAGS='):
1210
- ABIFLAGS=ln.split()[1]
+ ABIFLAGS=ln.split()
1211
+ ABIFLAGS=ABIFLAGS[1] if len(ABIFLAGS) > 1 else ''
1212
if ln.startswith('LDVERSION='):
1213
LDVERSION=ln.split()[1]
1214
fp.close()
@@ -1258,7 +1259,8 @@ def buildPython():
1258
1259
import pprint
1260
if getVersionMajorMinor() >= (3, 6):
1261
# XXX this is extra-fragile
- path = os.path.join(path_to_lib, '_sysconfigdata_m_darwin_darwin.py')
1262
+ path = os.path.join(path_to_lib,
1263
+ '_sysconfigdata_%s_darwin_darwin.py' % (ABIFLAGS,))
1264
else:
1265
path = os.path.join(path_to_lib, '_sysconfigdata.py')
1266
fp = open(path, 'r')
0 commit comments