forked from Mirror/frr
clippy: fail libcap test only when !enable_clippy_only
when building native clippy we don't need libcap Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
This commit is contained in:
parent
2163a630eb
commit
2cd3abe419
|
@ -2043,9 +2043,11 @@ if test "${enable_capabilities}" != "no"; then
|
||||||
|
|
||||||
case "$host_os" in
|
case "$host_os" in
|
||||||
linux*)
|
linux*)
|
||||||
|
if test "${enable_clippy_only}" != "yes"; then
|
||||||
if test "$frr_ac_lcaps" != "yes"; then
|
if test "$frr_ac_lcaps" != "yes"; then
|
||||||
AC_MSG_ERROR([libcap and/or its headers were not found. Running FRR without libcap support built in causes a huge performance penalty.])
|
AC_MSG_ERROR([libcap and/or its headers were not found. Running FRR without libcap support built in causes a huge performance penalty.])
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue