File uwsgi-1.9.17-plugin_build_path.patch of Package uwsgi

--- a/uwsgiconfig.py
+++ b/uwsgiconfig.py
@@ -1192,10 +1192,7 @@ def build_plugin(path, uc, cflags, ldfla
     except:
         pass
 
-    if uc:
-        plugin_dest = uc.get('plugin_dir') + '/' + name + '_plugin'
-    else:
-        plugin_dest = name + '_plugin'
+    plugin_dest = name + '_plugin'
 
     shared_flag = '-shared'
 
openSUSE Build Service is sponsored by