From dd13a204909986c6516354347593b5282fef6743 Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Thu, 17 May 2001 12:52:01 +0000 Subject: Made distutils understand the MacPython Carbon runtime model. Distutils will build for the runtime model you are currently using for the interpreter. --- Lib/distutils/mwerkscompiler.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Lib/distutils/mwerkscompiler.py') diff --git a/Lib/distutils/mwerkscompiler.py b/Lib/distutils/mwerkscompiler.py index 2edc8259bf..981fd95f01 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' -- cgit v1.2.1