mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 08:24:42 +01:00
libapparmor: force library configuration to search for python3
libapparmor and the pyton tools now require python3 but on systems where python2 is the default the build will fail unless the PYTHON= env var is set to the systems python3. Instead just force autoconf to search for python3 as the python version to use. Signed-off-by: John Johansen <john.johansen@canonical.com>
This commit is contained in:
parent
4e242fed7a
commit
955439cbb3
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ AC_ARG_WITH(python,
|
|||
[AC_MSG_RESULT($withval)], [AC_MSG_RESULT(no)])
|
||||
if test "$with_python" = "yes"; then
|
||||
test -z "$SWIG" && AC_MSG_ERROR([swig is required when enabling python bindings])
|
||||
AC_PATH_PROG(PYTHON, python)
|
||||
AC_PATH_PROG(PYTHON, python3)
|
||||
test -z "$PYTHON" && AC_MSG_ERROR([python is required when enabling python bindings])
|
||||
sinclude(m4/ac_python_devel.m4)
|
||||
AC_PYTHON_DEVEL
|
||||
|
|
Loading…
Add table
Reference in a new issue