summarylogtreecommitdiffstats
path: root/uwsgi_trick_chroot.patch
diff options
context:
space:
mode:
authorMaxwell Pray2018-03-26 11:06:46 -0700
committerMaxwell Pray2018-03-26 11:06:46 -0700
commit05f058109e6bc2b345ade39491aec35b62a4868b (patch)
tree7e1254ae4929ea6d8e128ff98d5d2af629335d55 /uwsgi_trick_chroot.patch
downloadaur-uwsgi-plugin-php71.tar.gz
Initial commit.
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..663bba76b82d
--- /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_build_dir', uc.get('plugin_dir')) + '/' + name + '_plugin'
+- else:
+- plugin_dest = name + '_plugin'
++ plugin_dest = name + '_plugin'
+
+ shared_flag = '-shared'
+