]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Patch #413912 from Steve Majewski: Add .m to the list of extensions
authorAndrew M. Kuchling <amk@amk.ca>
Thu, 5 Apr 2001 15:46:48 +0000 (15:46 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Thu, 5 Apr 2001 15:46:48 +0000 (15:46 +0000)
    in order to support Objective-C.

Lib/distutils/unixccompiler.py

index f7eb93ae432cd70bbc4803d145314006835fdc53..9ecfb6d13b508a86f2fb28c8594f127576778890 100644 (file)
@@ -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"