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:
parent
4f06aaa9d8
commit
b6626d0962
@ -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])
|
||||
|
Loading…
x
Reference in New Issue
Block a user