mirror of
https://github.com/clearlinux/uwsgi.git
synced 2026-09-06 05:31:44 +00:00
fixed json support with pkg-config
This commit is contained in:
@@ -397,6 +397,7 @@ class uConf(object):
|
||||
jsonconf = spcall("pkg-config --cflags jansson")
|
||||
if jsonconf:
|
||||
self.cflags.append(jsonconf)
|
||||
self.cflags.append("-DUWSGI_JSON")
|
||||
self.gcc_list.append('json')
|
||||
self.libs.append(spcall("pkg-config --libs jansson"))
|
||||
elif os.path.exists('/usr/include/jansson.h') or os.path.exists('/usr/local/include/jansson.h'):
|
||||
|
||||
Reference in New Issue
Block a user