From: Andrew M. Kuchling Date: Thu, 5 Apr 2001 15:46:48 +0000 (+0000) Subject: Patch #413912 from Steve Majewski: Add .m to the list of extensions X-Git-Tag: v2.1c1~187 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7880e5ecd7711569c6fe4499d02297d8c5e03102;p=thirdparty%2FPython%2Fcpython.git Patch #413912 from Steve Majewski: Add .m to the list of extensions in order to support Objective-C. --- diff --git a/Lib/distutils/unixccompiler.py b/Lib/distutils/unixccompiler.py index f7eb93ae432c..9ecfb6d13b50 100644 --- a/Lib/distutils/unixccompiler.py +++ b/Lib/distutils/unixccompiler.py @@ -67,7 +67,7 @@ class UnixCCompiler (CCompiler): # reasonable common default here, but it's not necessarily used on all # Unices! - src_extensions = [".c",".C",".cc",".cxx",".cpp"] + src_extensions = [".c",".C",".cc",".cxx",".cpp",".m"] obj_extension = ".o" static_lib_extension = ".a" shared_lib_extension = ".so"