tadej / rpms / uwsgi

Forked from rpms/uwsgi 6 years ago
Clone

Blame uwsgi_trick_chroot_rpmbuild.patch

cc0b262
diff --git a/uwsgiconfig.py b/uwsgiconfig.py
cc0b262
index e447123..4d55f2c 100644
cc0b262
--- a/uwsgiconfig.py
cc0b262
+++ b/uwsgiconfig.py
cc0b262
@@ -1129,10 +1129,7 @@ def build_plugin(path, uc, cflags, ldflags, libs, name = None):
2213ec4
     except:
2213ec4
         pass
2213ec4
 
cc0b262
-    if uc:
cc0b262
-        plugin_dest = uc.get('plugin_dir') + '/' + name + '_plugin'
cc0b262
-    else:
cc0b262
-        plugin_dest = name + '_plugin'
2213ec4
+    plugin_dest = name + '_plugin'
2213ec4
 
2213ec4
     shared_flag = '-shared'
cc0b262