From adcbc061b1fa4624de5ac701fe9c83f97d420e0c Mon Sep 17 00:00:00 2001 From: Roberto De Ioris Date: Tue, 9 Oct 2012 14:50:14 +0200 Subject: [PATCH] allows usage of objective-c in plugins --- uwsgiconfig.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)