From f1ad2090fc0a7282b8442bd19f0f31f451f291fb Mon Sep 17 00:00:00 2001 From: "roberto@debian32" Date: Tue, 2 Aug 2011 15:13:21 +0200 Subject: [PATCH] remove incompatible LDFLAGS --- uwsgiconfig.py | 1 + 1 file changed, 1 insertion(+) diff --git a/uwsgiconfig.py b/uwsgiconfig.py index 15b7cccc..1ecaf421 100644 --- a/uwsgiconfig.py +++ b/uwsgiconfig.py @@ -685,6 +685,7 @@ def build_plugin(path, uc, cflags, ldflags, libs, name = None): else: gcc_list.append(path + '/' + cfile) + p_ldflags.remove('-Wl,--no-undefined') gccline = "%s -fPIC %s -o %s.so %s %s %s %s" % (GCC, shared_flag, plugin_dest, ' '.join(p_cflags), ' '.join(p_ldflags), ' '.join(gcc_list), ' '.join(p_libs) ) print(gccline)