mirror of
https://gitlab.freedesktop.org/plymouth/plymouth.git
synced 2026-04-25 12:00:40 +02:00
configure: Use pkgconfig to determine the systemd unit dir location
Don't assume it's in /lib/systemd/system
This commit is contained in:
parent
8f373680dd
commit
de67b2d021
1 changed files with 1 additions and 1 deletions
|
|
@ -256,7 +256,7 @@ AM_CONDITIONAL(ENABLE_SYSTEMD_INTEGRATION, [test "$enable_systemd_integration" =
|
|||
|
||||
if test x$enable_systemd_integration = xyes; then
|
||||
AC_DEFINE(PLY_ENABLE_SYSTEMD_INTEGRATION, 1, [Coordinate boot up with systemd])
|
||||
SYSTEMD_UNIT_DIR=/lib/systemd/system
|
||||
SYSTEMD_UNIT_DIR=$($PKG_CONFIG --variable=systemdsystemunitdir systemd)
|
||||
AC_SUBST(SYSTEMD_UNIT_DIR)
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue