view uwsgi-do-not-install-plugins-into-plugin_dir.patch @ 12:d0948dcc1656 default tip

Update to version 2.0.8
author Guido Berhoerster <guido+packaging@berhoerster.name>
date Thu, 30 Oct 2014 10:15:36 +0100
parents 851739edafa6
children
line wrap: on
line source

Index: uwsgi-1.9.21.1/uwsgiconfig.py
===================================================================
--- uwsgi-1.9.21.1.orig/uwsgiconfig.py
+++ uwsgi-1.9.21.1/uwsgiconfig.py
@@ -1278,10 +1278,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'