sd-path: use ROOTPREFIX without suffixed slash v246.5
authorLennart Poettering <lennart@poettering.net>
Thu, 10 Sep 2020 16:20:05 +0000 (18:20 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 12 Sep 2020 12:16:33 +0000 (14:16 +0200)
commitd0f0f048ec86be122d9fa41ad50a15d97e629bbe
treee71be51ed71b275a54a3d571041dcf639a63046b
parente662cf6d515daad19e70c3d85e244b213ac48997
sd-path: use ROOTPREFIX without suffixed slash

We already have rootprefix_noslash as meson variable, export it so that
we can also use it in C code.

Fixes: #16773
(cherry picked from commit b612c26ceb9f56af0271fc9f07c1724d2d260a8a)
meson.build
src/libsystemd/sd-path/sd-path.c