summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/mwerkscompiler.py
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2001-05-17 12:52:01 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2001-05-17 12:52:01 (GMT)
commitdd13a204909986c6516354347593b5282fef6743 (patch)
treee05df99f42159421c19647a2b58dbb0648bcd3b1 /Lib/distutils/mwerkscompiler.py
parent6f84ed5afc0d1d43e01f2728207b6fb2cdafc5b5 (diff)
downloadcpython-dd13a204909986c6516354347593b5282fef6743.zip
cpython-dd13a204909986c6516354347593b5282fef6743.tar.gz
cpython-dd13a204909986c6516354347593b5282fef6743.tar.bz2
Made distutils understand the MacPython Carbon runtime model. Distutils will build for the runtime model you are currently using for the interpreter.
Diffstat (limited to 'Lib/distutils/mwerkscompiler.py')
-rw-r--r--Lib/distutils/mwerkscompiler.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/distutils/mwerkscompiler.py b/Lib/distutils/mwerkscompiler.py
index 2edc825..981fd95 100644
--- a/Lib/distutils/mwerkscompiler.py
+++ b/Lib/distutils/mwerkscompiler.py
@@ -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'