summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/unixccompiler.py
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2001-04-05 15:46:48 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2001-04-05 15:46:48 (GMT)
commit7880e5ecd7711569c6fe4499d02297d8c5e03102 (patch)
tree39c4d7ba1984cdb9a9237b7b9cb199ab2148d840 /Lib/distutils/unixccompiler.py
parent88717f482599b9af344eade0e37a9165d467f152 (diff)
downloadcpython-7880e5ecd7711569c6fe4499d02297d8c5e03102.zip
cpython-7880e5ecd7711569c6fe4499d02297d8c5e03102.tar.gz
cpython-7880e5ecd7711569c6fe4499d02297d8c5e03102.tar.bz2
Patch #413912 from Steve Majewski: Add .m to the list of extensions
in order to support Objective-C.
Diffstat (limited to 'Lib/distutils/unixccompiler.py')
-rw-r--r--Lib/distutils/unixccompiler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/distutils/unixccompiler.py b/Lib/distutils/unixccompiler.py
index f7eb93a..9ecfb6d 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"