[apparmor] [patch] libapparmor - use python-config if it exists when configuring

Kees Cook kees at ubuntu.com
Tue Jan 29 22:51:24 UTC 2013


On Mon, Jan 28, 2013 at 11:44:18PM -0800, Steve Beattie wrote:
> Author: Dmitrijs Ledkovs <dmitrij.ledkov at ubuntu.com>
> 
> This patch modifies the libapparmor macro for python to use
> python-config if it exists to determine what CPPFLAGS and LDFLAGS to
> use when building the python swig libraries. Without this addition,
> python detection fails on ubuntu 13.04. I've confirmed that with this
> patch applied, the python libraries still build successfully on older
> releases as well (as far back as ubuntu 11.10).

Acked-by: Kees Cook <kees at ubuntu.com>

-- 
Kees Cook



More information about the AppArmor mailing list