From: Kay Sievers Date: Tue, 16 Dec 2008 15:17:53 +0000 (+0100) Subject: build: add -lsepol X-Git-Tag: 174~1256 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=b6626d096285f856c78c763297114902d635b252 build: add -lsepol Harald needs it for static binaries. --- 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])