summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/extension.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/distutils/extension.py')
-rw-r--r--Lib/distutils/extension.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/distutils/extension.py b/Lib/distutils/extension.py
index fbae7c5..a31ccbc 100644
--- a/Lib/distutils/extension.py
+++ b/Lib/distutils/extension.py
@@ -160,7 +160,7 @@ def read_setup_file (filename):
suffix = os.path.splitext(word)[1]
switch = word[0:2] ; value = word[2:]
- if suffix in (".c", ".cc", ".cpp", ".cxx", ".c++"):
+ if suffix in (".c", ".cc", ".cpp", ".cxx", ".c++", ".m", ".mm"):
# hmm, should we do something about C vs. C++ sources?
# or leave it up to the CCompiler implementation to
# worry about?