summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVictor Kareh <[email protected]>2019-03-26 22:20:59 +0100
committerVictor Kareh <[email protected]>2019-04-04 13:12:48 -0400
commit78affe713109ebc5315cfac6d50ca677f2a945ed (patch)
treea63e89b7a31da0370eceb1d3f2e1a330fccd241c /src
parent09af4c546df2acec4cec75a11123d2679307e681 (diff)
downloadmate-screensaver-78affe713109ebc5315cfac6d50ca677f2a945ed.tar.bz2
mate-screensaver-78affe713109ebc5315cfac6d50ca677f2a945ed.tar.xz
Add ELOGIND support
Reuses WITH_SYSTEMD #define to reduce #ifdef mess. ELOGIND is not officially supported, but since it's a subset of systemd, it should work out of the box. Co-authored-by: Joakim Tjernlund <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 51e09bf..37cbbca 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -32,6 +32,7 @@ AM_CPPFLAGS = \
$(LIBMATEKBDUI_CFLAGS) \
$(LIBNOTIFY_CFLAGS) \
$(SYSTEMD_CFLAGS) \
+ $(LIBELOGIND_CFLAGS) \
$(NULL)
bin_PROGRAMS = \
@@ -216,6 +217,7 @@ mate_screensaver_LDADD = \
$(MATE_SCREENSAVER_LIBS) \
$(SAVER_LIBS) \
$(SYSTEMD_LIBS) \
+ $(LIBELOGIND_LIBS) \
$(NULL)
mate_screensaver_LDFLAGS = -export-dynamic