From 4c82a72fd564cc52288f89d5a881bbc58feed783 Mon Sep 17 00:00:00 2001 From: "roberto@oneiric64" Date: Tue, 10 Jan 2012 19:08:00 +0100 Subject: [PATCH] FreeBSD9 fix --- uwsgiconfig.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uwsgiconfig.py b/uwsgiconfig.py index dda00c38..5f4ff0e9 100644 --- a/uwsgiconfig.py +++ b/uwsgiconfig.py @@ -536,7 +536,7 @@ class uConf(object): self.gcc_list.append('regexp') self.cflags.append("-DUWSGI_PCRE") - if self.has_include('sys/capability.h'): + if self.has_include('sys/capability.h') and uwsgi_os == 'Linux': self.cflags.append("-DUWSGI_CAP") self.libs.append('-lcap')