diff --git a/uwsgiconfig.py b/uwsgiconfig.py index 9a220da7..62123613 100644 --- a/uwsgiconfig.py +++ b/uwsgiconfig.py @@ -1074,7 +1074,7 @@ def build_plugin(path, uc, cflags, ldflags, libs, name = None): for cfile in up.GCC_LIST: if cfile.endswith('.a'): gcc_list.append(cfile) - elif not cfile.endswith('.c') and not cfile.endswith('.cc'): + elif not cfile.endswith('.c') and not cfile.endswith('.cc') and not cfile.endswith('.m'): gcc_list.append(path + '/' + cfile + '.c') else: gcc_list.append(path + '/' + cfile)