From e1763ba13c7870ff72aff1a091923e7f09f69d44 Mon Sep 17 00:00:00 2001 From: John Johansen Date: Thu, 10 Nov 2011 09:22:09 -0800 Subject: [PATCH] Auther: Michael (kensington) libapparmor python bindings fail to build with python-3. Signed-off-by: John Johansen --- libraries/libapparmor/swig/python/setup.py.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/libapparmor/swig/python/setup.py.in b/libraries/libapparmor/swig/python/setup.py.in index 64cc95cde..d7d0ec4d7 100644 --- a/libraries/libapparmor/swig/python/setup.py.in +++ b/libraries/libapparmor/swig/python/setup.py.in @@ -13,7 +13,7 @@ setup(name = 'LibAppArmor', ext_package = 'LibAppArmor', ext_modules = [Extension('_LibAppArmor', ['libapparmor_wrap.c'], include_dirs=['@top_srcdir@/src'], - extra_link_args = string.split('-L@top_builddir@/src/.libs -lapparmor'), -# static: extra_link_args = string.split('@top_builddir@/src/.libs/libapparmor.a'), + extra_link_args = '-L@top_builddir@/src/.libs -lapparmor'.split(), +# static: extra_link_args = '@top_builddir@/src/.libs/libapparmor.a'.split(), )], )