Index: uwsgi-2.0.13/uwsgiconfig.py
===================================================================
--- uwsgi-2.0.13.orig/uwsgiconfig.py
+++ uwsgi-2.0.13/uwsgiconfig.py
@@ -1420,10 +1420,7 @@ def build_plugin(path, uc, cflags, ldfla
except:
pass
- if uc:
- plugin_dest = uc.get('plugin_build_dir', uc.get('plugin_dir')) + '/' + name + '_plugin'
- else:
- plugin_dest = name + '_plugin'
+ plugin_dest = name + '_plugin'
shared_flag = '-shared'