summaryrefslogtreecommitdiff
path: root/community/uwsgi/uwsgi_trick_chroot.patch
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-01 02:03:26 -0700
committerroot <root@rshg054.dnsready.net>2013-08-01 02:03:26 -0700
commit3391ef078ab86d3160b5e2fb3cfb794b75ce2a76 (patch)
tree3dece49302a2f07d08d6cf95ebebf467d61ff70a /community/uwsgi/uwsgi_trick_chroot.patch
parentb73aa81c21acc75e383d0e73e0fbf553d2b68232 (diff)
Thu Aug 1 02:01:53 PDT 2013
Diffstat (limited to 'community/uwsgi/uwsgi_trick_chroot.patch')
-rw-r--r--community/uwsgi/uwsgi_trick_chroot.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/community/uwsgi/uwsgi_trick_chroot.patch b/community/uwsgi/uwsgi_trick_chroot.patch
new file mode 100644
index 000000000..3bfb1ac22
--- /dev/null
+++ b/community/uwsgi/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'
+