uwsgi/uwsgi_trick_chroot_rpmbuild.patch

17 lines
434 B
Diff
Raw Normal View History

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