mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-03 11:35:19 +00:00
configure: Link witch -lacl only on linux
There's no -lacl on FreeBSD. Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
1d29c889ad
commit
4a4a5152f4
@ -320,7 +320,7 @@ AC_CHECK_FUNCS([stat stat64 __xstat __xstat64 lstat lstat64 __lxstat __lxstat64]
|
||||
|
||||
ACL_CFLAGS=""
|
||||
ACL_LIBS=""
|
||||
if test "x$ac_cv_header_sys_acl_h" = "xyes" ; then
|
||||
if test "x$ac_cv_header_sys_acl_h:x$with_linux" = "xyes:xyes" ; then
|
||||
ACL_LIBS="-lacl"
|
||||
fi
|
||||
AC_SUBST([ACL_CFLAGS])
|
||||
|
Loading…
Reference in New Issue
Block a user