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 4439166d6ab7a1148f68f733a2c36dc9ce396fc7..e9519a78f0f3c4b773a947b0a04f777fd0b4b886 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])