From bcf5d3a4805e278ddf19dec810b24383be5630a5 Mon Sep 17 00:00:00 2001 From: "roberto@precise64" Date: Mon, 28 May 2012 13:46:17 +0200 Subject: [PATCH] fixed yaml reporting --- uwsgiconfig.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/uwsgiconfig.py b/uwsgiconfig.py index 9e95ac49..8286ca89 100644 --- a/uwsgiconfig.py +++ b/uwsgiconfig.py @@ -787,10 +787,11 @@ class uConf(object): if self.get('yaml'): self.cflags.append("-DUWSGI_YAML") self.gcc_list.append('yaml') + report['yaml'] = True if self.get('yaml_implementation') == 'libyaml': self.cflags.append("-DUWSGI_LIBYAML") self.libs.append('-lyaml') - report['yaml'] = True + report['yaml'] = 'libyaml' if self.get('yaml_implementation') == 'auto': if self.has_include('yaml.h'): self.cflags.append("-DUWSGI_LIBYAML")