From b6626d096285f856c78c763297114902d635b252 Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Tue, 16 Dec 2008 16:17:53 +0100 Subject: [PATCH] build: add -lsepol Harald needs it for static binaries. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 4439166d6..e9519a78f 100644 --- a/configure.ac +++ b/configure.ac @@ -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]) -- 2.30.2