pkg-config: prefix is not really configurable, don't pretend it was

We generally don't support prefix being != /usr, and this is hardcoded
all over the place. In the systemd.pc file it wasn't so far. Let's
adjust this to match the rest of the codebase.
This commit is contained in:
Lennart Poettering
2020-09-11 13:09:06 +02:00
parent b612c26ceb
commit 6e65df89c3
2 changed files with 6 additions and 8 deletions
-2
View File
@@ -364,8 +364,6 @@ static int get_path(uint64_t type, char **buffer, const char **ret) {
*ret = ROOTPREFIX_NOSLASH "/lib/systemd/system-shutdown";
return 0;
/* FIXME: systemd.pc uses ${prefix}, but CONF_PATHS_NULSTR doesn't.
* Should ${prefix} use in systemd.pc be removed? */
case SD_PATH_TMPFILES:
*ret = "/usr/lib/tmpfiles.d";
return 0;