chiark / gitweb /
build: add -lsepol
authorKay Sievers <kay.sievers@vrfy.org>
Tue, 16 Dec 2008 15:17:53 +0000 (16:17 +0100)
committerKay Sievers <kay.sievers@vrfy.org>
Tue, 16 Dec 2008 15:17:53 +0000 (16:17 +0100)
Harald needs it for static binaries.

configure.ac

index 4439166..e9519a7 100644 (file)
@@ -53,7 +53,7 @@ if test "x$with_selinux" = xyes; then
                AC_MSG_ERROR([SELinux selected but libselinux not found]))
        LIBS=$LIBS_save
        AC_DEFINE(USE_SELINUX, [1] ,[compile with SELinux support])
-       SELINUX_LIBS="-lselinux"
+       SELINUX_LIBS="-lselinux -lsepol"
 fi
 AC_SUBST([SELINUX_LIBS])
 AM_CONDITIONAL(USE_SELINUX, [test "x$with_selinux" = xyes], [compile with SELinux support])