--- a/uwsgiconfig.py +++ b/uwsgiconfig.py @@ -902,7 +902,7 @@ def build_plugin(path, uc, cflags, ldfla except: pass - plugin_dest = uc.get('plugin_dir') + '/' + name + '_plugin' + plugin_dest = name + '_plugin' shared_flag = '-shared'