[PATCH 1/3] configure: Link witch -lacl only on linux

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



There's no -lacl on FreeBSD.

Signed-off-by: Michal Privoznik <mprivozn@xxxxxxxxxx>
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index cb96df73b..de174be02 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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])
-- 
2.11.0

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]
  Powered by Linux