uwsgi: backport master changes to 19.07

To support new luci version uwsgi has been changed.
Backport this changes to 19.07

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
This commit is contained in:
Ansuel Smith
2020-01-31 23:07:54 +01:00
parent 8b5c2901c0
commit 2c4e6a5390
16 changed files with 353 additions and 121 deletions
+11
View File
@@ -0,0 +1,11 @@
--- a/core/uwsgi.c
+++ b/core/uwsgi.c
@@ -1820,7 +1820,7 @@ void uwsgi_plugins_atexit(void) {
void uwsgi_backtrace(int depth) {
-#if defined(__GLIBC__) || (defined(__APPLE__) && !defined(NO_EXECINFO)) || defined(UWSGI_HAS_EXECINFO)
+#if (!defined(__UCLIBC__) && defined(__GLIBC__)) || (defined(__APPLE__) && !defined(NO_EXECINFO)) || defined(UWSGI_HAS_EXECINFO)
#include <execinfo.h>