PKGBUILDs/community/uwsgi/uwsgi_trick_chroot.patch

17 lines
462 B
Diff
Raw Normal View History

2014-07-16 03:06:18 +00:00
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):
except:
pass
- if uc:
2016-05-10 12:12:55 +00:00
- plugin_dest = uc.get('plugin_build_dir', uc.get('plugin_dir')) + '/' + name + '_plugin'
2014-07-16 03:06:18 +00:00
- else:
- plugin_dest = name + '_plugin'
+ plugin_dest = name + '_plugin'
shared_flag = '-shared'