1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-02-27 13:57:26 +03:00

build: add -lsepol

Harald needs it for static binaries.
This commit is contained in:
Kay Sievers 2008-12-16 16:17:53 +01:00
parent 4f06aaa9d8
commit b6626d0962

View 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])