Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
9bdd6d1c
Commit
9bdd6d1c
authored
Apr 29, 2019
by
Ned Deily
Committed by
GitHub
Apr 29, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Prevent macOS installer build failure if ABIFLAGS is empty. (GH-13012)
parent
883dfc66
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
Mac/BuildScript/build-installer.py
Mac/BuildScript/build-installer.py
+4
-2
No files found.
Mac/BuildScript/build-installer.py
View file @
9bdd6d1c
...
...
@@ -1207,7 +1207,8 @@ def buildPython():
if
ln
.
startswith
(
'VERSION='
):
VERSION
=
ln
.
split
()[
1
]
if
ln
.
startswith
(
'ABIFLAGS='
):
ABIFLAGS
=
ln
.
split
()[
1
]
ABIFLAGS
=
ln
.
split
()
ABIFLAGS
=
ABIFLAGS
[
1
]
if
len
(
ABIFLAGS
)
>
1
else
''
if
ln
.
startswith
(
'LDVERSION='
):
LDVERSION
=
ln
.
split
()[
1
]
fp
.
close
()
...
...
@@ -1258,7 +1259,8 @@ def buildPython():
import
pprint
if
getVersionMajorMinor
()
>=
(
3
,
6
):
# XXX this is extra-fragile
path
=
os
.
path
.
join
(
path_to_lib
,
'_sysconfigdata_m_darwin_darwin.py'
)
path
=
os
.
path
.
join
(
path_to_lib
,
'_sysconfigdata_%s_darwin_darwin.py'
%
(
ABIFLAGS
,))
else
:
path
=
os
.
path
.
join
(
path_to_lib
,
'_sysconfigdata.py'
)
fp
=
open
(
path
,
'r'
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment