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(), )], )