summarylogtreecommitdiffstats
path: root/uwsgi_trick_chroot.patch
diff options
context:
space:
mode:
authorFantix King2015-12-30 13:38:59 +0800
committerFantix King2016-01-19 21:53:30 +0800
commitd274434a14b71d6d3da84902ab6e9d8c96f57358 (patch)
tree49500de68467e15cd43fd2cbcb5f2e4b26a458da /uwsgi_trick_chroot.patch
downloadaur-d274434a14b71d6d3da84902ab6e9d8c96f57358.tar.gz
2.0.11.2-3.1
Diffstat (limited to 'uwsgi_trick_chroot.patch')
-rw-r--r--uwsgi_trick_chroot.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/uwsgi_trick_chroot.patch b/uwsgi_trick_chroot.patch
new file mode 100644
index 000000000000..3bfb1ac220ae
--- /dev/null
+++ b/uwsgi_trick_chroot.patch
@@ -0,0 +1,16 @@
+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:
+- plugin_dest = uc.get('plugin_dir') + '/' + name + '_plugin'
+- else:
+- plugin_dest = name + '_plugin'
++ plugin_dest = name + '_plugin'
+
+ shared_flag = '-shared'
+