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
@@ -0,0 +1,19 @@
--- a/uwsgiconfig.py
+++ b/uwsgiconfig.py
@@ -851,11 +851,11 @@ class uConf(object):
self.cflags.append('-DUWSGI_HAS_EXECINFO')
report['execinfo'] = True
- if self.has_include('zlib.h'):
- self.cflags.append('-DUWSGI_ZLIB')
- self.libs.append('-lz')
- self.gcc_list.append('core/zlib')
- report['zlib'] = True
+# if self.has_include('zlib.h'):
+# self.cflags.append('-DUWSGI_ZLIB')
+# self.libs.append('-lz')
+# self.gcc_list.append('core/zlib')
+ report['zlib'] = False
if uwsgi_os == 'OpenBSD':
try: