From 7880e5ecd7711569c6fe4499d02297d8c5e03102 Mon Sep 17 00:00:00 2001 From: "Andrew M. Kuchling" Date: Thu, 5 Apr 2001 15:46:48 +0000 Subject: [PATCH] Patch #413912 from Steve Majewski: Add .m to the list of extensions in order to support Objective-C. --- Lib/distutils/unixccompiler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/distutils/unixccompiler.py b/Lib/distutils/unixccompiler.py index f7eb93ae432..9ecfb6d13b5 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"