mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-07-13 09:06:23 +00:00
configure: Disable python3 builds with clang
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com> Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
This commit is contained in:
parent
d8d446599e
commit
2bc93759f6
@ -217,6 +217,13 @@ AC_ARG_ENABLE([python],
|
|||||||
|
|
||||||
if test "x$enable_python" = "xauto"; then
|
if test "x$enable_python" = "xauto"; then
|
||||||
PKG_CHECK_MODULES([PYTHONDEV], [python3 >= 3.2],[enable_python=yes],[enable_python=no])
|
PKG_CHECK_MODULES([PYTHONDEV], [python3 >= 3.2],[enable_python=yes],[enable_python=no])
|
||||||
|
if test "$CC" = "clang"; then
|
||||||
|
enable_python=no
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
if test "x$enable_python" = "xyes" && test "$CC" = "clang"; then
|
||||||
|
AC_MSG_ERROR([Python3 is incompatible with the clang compiler])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AM_CONDITIONAL([ENABLE_PYTHON], [test "x$enable_python" = "xyes"])
|
AM_CONDITIONAL([ENABLE_PYTHON], [test "x$enable_python" = "xyes"])
|
||||||
|
Loading…
Reference in New Issue
Block a user