I'm not sure what is the best solution for this. But I would like to propose the following patch which adds a line about '-lsystemd' in etc/NEWS. I think this will serve as a warning till we come up with a solution (if that is required). Patch is for, 'emacs-27' branch.