mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Made distutils understand the MacPython Carbon runtime model. Distutils will build for the runtime model you are currently using for the interpreter.
This commit is contained in:
parent
6f84ed5afc
commit
dd13a20490
2 changed files with 6 additions and 0 deletions
|
@ -114,6 +114,8 @@ class MWerksCompiler (CCompiler) :
|
|||
# into the project.
|
||||
if output_filename[-8:] == '.ppc.slb':
|
||||
basename = output_filename[:-8]
|
||||
elif output_filename[-11:] == '.carbon.slb':
|
||||
basename = output_filename[:-11]
|
||||
else:
|
||||
basename = os.path.strip(output_filename)[0]
|
||||
projectname = basename + '.mcp'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue