diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2020-04-01 08:05:56 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2020-04-01 08:07:40 +0000 |
commit | b72b900a069882fed03225151e6bc05a3ab75cbc (patch) | |
tree | 4e7ba35c57e47d1690e7bb6dac0531a0553e2f9e /main/uwsgi/musl-ucontext.patch | |
parent | fa8d8581b39a038d1804a58ab4214e34154effe0 (diff) |
main/uwsgi: use libucontext for ugreen plugin
Should fix the error:
!!! UNABLE to load uWSGI plugin: Error relocating
/usr/lib/uwsgi/ugreen_plugin.so: makecontext: symbol not found !!!
Diffstat (limited to 'main/uwsgi/musl-ucontext.patch')
-rw-r--r-- | main/uwsgi/musl-ucontext.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/main/uwsgi/musl-ucontext.patch b/main/uwsgi/musl-ucontext.patch new file mode 100644 index 00000000000..94cac69baaa --- /dev/null +++ b/main/uwsgi/musl-ucontext.patch @@ -0,0 +1,12 @@ +diff --git a/plugins/ugreen/uwsgiplugin.py b/plugins/ugreen/uwsgiplugin.py +index b206c62..9cdf209 100644 +--- a/plugins/ugreen/uwsgiplugin.py ++++ b/plugins/ugreen/uwsgiplugin.py +@@ -2,6 +2,6 @@ + NAME='ugreen' + CFLAGS = [] + LDFLAGS = [] +-LIBS = [] ++LIBS = ['-lucontext'] + + GCC_LIST = ['ugreen'] |