summaryrefslogtreecommitdiff
path: root/src/libsystemd/sd-path
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2020-09-10 18:27:18 +0200
committerLennart Poettering <lennart@poettering.net>2020-09-11 13:09:06 +0200
commit6e65df89c348242dbd10036abc7dd5e8181cf733 (patch)
tree6cc50f0630be258408c686141d79ba902fc689f5 /src/libsystemd/sd-path
parentb612c26ceb9f56af0271fc9f07c1724d2d260a8a (diff)
downloadsystemd-6e65df89c348242dbd10036abc7dd5e8181cf733.tar.gz
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.
Diffstat (limited to 'src/libsystemd/sd-path')
-rw-r--r--src/libsystemd/sd-path/sd-path.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/libsystemd/sd-path/sd-path.c b/src/libsystemd/sd-path/sd-path.c
index 3f6e70d099..26d2341c2b 100644
--- a/src/libsystemd/sd-path/sd-path.c
+++ b/src/libsystemd/sd-path/sd-path.c
@@ -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;