uwsgi/uwsgi_trick_chroot_rpmbuild.patch

17 lines
462 B
Diff
Raw Normal View History

diff --git a/uwsgiconfig.py b/uwsgiconfig.py
2016-07-28 03:59:31 +00:00
index 59393e1..e43f092 100644
--- a/uwsgiconfig.py
+++ b/uwsgiconfig.py
2016-07-28 03:59:31 +00:00
@@ -1422,10 +1422,7 @@ def build_plugin(path, uc, cflags, ldflags, libs, name = None):
2012-02-23 05:50:45 +00:00
except:
pass
- if uc:
2016-07-28 03:59:31 +00:00
- plugin_dest = uc.get('plugin_build_dir', 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'