pkconfig: export full search path as .pc variable

This commit is contained in:
Lennart Poettering 2011-03-09 20:15:44 +01:00
parent 2e60ecb2f7
commit 607df95be1
2 changed files with 3 additions and 0 deletions

View file

@ -181,6 +181,8 @@ int lookup_paths_init(LookupPaths *p, ManagerRunningAs running_as) {
return -ENOMEM;
} else
if (!(p->unit_path = strv_new(
/* If you modify this you also want to modify
* systemdsystemunitpath= in systemd.pc.in! */
"/dev/.systemd/system",
SYSTEM_CONFIG_UNIT_PATH,
"/etc/systemd/system",

View file

@ -11,6 +11,7 @@ systemdsystemunitdir=@systemunitdir@
systemduserunitdir=@pkgdatadir@/user
systemdsystemconfdir=@pkgsysconfdir@/system
systemduserconfdir=@pkgsysconfdir@/user
systemdsystemunitpath=/dev/.systemd/system:${systemdsystemconfdir}:/etc/systemd/system:/usr/local/share/systemd/system:/usr/share/systemd/system:/lib/systemd/system:${systemdsystemunitdir}
Name: systemd
Description: systemd System and Service Manager