it needs to link with libsystemd when using systemd as init system
Fixes
Package libsystemd was not found in the pkg-config search path.
Perhaps you should add the directory containing `libsystemd.pc'
to the PKG_CONFIG_PATH environment variable
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 60e603f11ae1cca38553d18cf411f1a77207a97c)
Signed-off-by: Armin Kuster <akuster808@gmail.com>