summaryrefslogtreecommitdiff
path: root/src/libelogind/libelogind.pc.in
diff options
context:
space:
mode:
authorSven Eden <yamakuzure@gmx.net>2017-06-02 11:18:12 +0200
committerSven Eden <yamakuzure@gmx.net>2017-06-16 10:12:58 +0200
commit7146d24aeaac6bf5a9f1fbe0c786a846410145ff (patch)
treeec9748506111138acb25fcb8e2da9ac978def7f8 /src/libelogind/libelogind.pc.in
parentcadc392ed7e51a99235c69a8006eeba208317ebe (diff)
Prep v230: Move installed headers
The headers are now installed into /usr/include/elogind/systemd and the pkg-config file now returns -I/usr/include/elogind for CFLAGS. Further /usr/include/elogind contains symlinks to the headers, so existing packages already including <elogind/sd-login.h> will not be broken. This way no software has to change their include lines anywhere to support elogind any more. All they have to do is either add LIBSYSTEMD_CFLAGS or LIBELOGIND_CFLAGS from pkg-config and be done with it. So most patching can be avoided, just some configure adaption is needed. However, this can lead to systemd/elogind bug confusion if there is anything mixed up on a system that shouldn't. Downstreams, chose any of the two ways to your own discretion! See https://bugs.freedesktop.org/show_bug.cgi?id=101251
Diffstat (limited to 'src/libelogind/libelogind.pc.in')
-rw-r--r--src/libelogind/libelogind.pc.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libelogind/libelogind.pc.in b/src/libelogind/libelogind.pc.in
index 17a92b130..0b0fd87dd 100644
--- a/src/libelogind/libelogind.pc.in
+++ b/src/libelogind/libelogind.pc.in
@@ -8,7 +8,7 @@
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
-includedir=@includedir@
+includedir=@includedir@/elogind
Name: elogind
Description: elogind Library