mirror of
https://github.com/clearlinux/uwsgi.git
synced 2026-09-07 06:06:08 +00:00
Merge pull request #350 from prymitive/matheval_fix
fix matheval check in build profiles
This commit is contained in:
+1
-5
@@ -919,11 +919,7 @@ class uConf(object):
|
||||
report['capabilities'] = True
|
||||
|
||||
if self.get('matheval'):
|
||||
if self.get('matheval') == 'auto' and self.has_include('matheval.h'):
|
||||
self.cflags.append("-DUWSGI_MATHEVAL")
|
||||
self.libs.append('-lmatheval')
|
||||
report['matheval'] = True
|
||||
else:
|
||||
if (self.get('matheval') == 'auto' and self.has_include('matheval.h')) or self.get('matheval') == 'true':
|
||||
self.cflags.append("-DUWSGI_MATHEVAL")
|
||||
self.libs.append('-lmatheval')
|
||||
report['matheval'] = True
|
||||
|
||||
Reference in New Issue
Block a user