mirror of
https://github.com/novatiq/packages.git
synced 2026-07-29 15:03:05 +01:00
uwsgi-cgi: fix compilation on Darwin system
Currently the uwsgiconfig python script append some additional compilation flag based on the host system. This fix some problem related with this by hardcoding usgi_os variable to Linux Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
--- a/uwsgiconfig.py
|
||||
+++ b/uwsgiconfig.py
|
||||
@@ -5,9 +5,9 @@
|
||||
import os
|
||||
import re
|
||||
import time
|
||||
-uwsgi_os = os.uname()[0]
|
||||
-uwsgi_os_k = re.split('[-+_]', os.uname()[2])[0]
|
||||
-uwsgi_os_v = os.uname()[3]
|
||||
+uwsgi_os = "Linux"
|
||||
+uwsgi_os_k = "4.4.0"
|
||||
+uwsgi_os_v = "Linux"
|
||||
uwsgi_cpu = os.uname()[4]
|
||||
|
||||
import sys
|
||||
Reference in New Issue
Block a user