summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2016-12-22 13:20:16 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2016-12-22 13:20:16 +0100
commit5c8d366975d195ba9f1be4a6fd65f2873ad8c301 (patch)
tree51f8ece224477e2246d14bbb08c8e70000b5edcc /Makefile
parent26252c37cdff5f0fd5d5659823aaa59f2ab26bd9 (diff)
downloadvdr-5c8d366975d195ba9f1be4a6fd65f2873ad8c301.tar.gz
vdr-5c8d366975d195ba9f1be4a6fd65f2873ad8c301.tar.bz2
Fixed building VDR with systemd >= 230
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 97220364..a0d78b2a 100644
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@
# See the main source file 'vdr.c' for copyright information and
# how to reach the author.
#
-# $Id: Makefile 3.6 2015/02/09 12:28:24 kls Exp $
+# $Id: Makefile 4.1 2016/12/22 13:18:32 kls Exp $
.DELETE_ON_ERROR:
@@ -95,9 +95,9 @@ DEFINES += -DBIDI
LIBS += $(shell pkg-config --libs fribidi)
endif
ifdef SDNOTIFY
-INCLUDES += $(shell pkg-config --cflags libsystemd-daemon)
+INCLUDES += $(shell pkg-config --silence-errors --cflags libsystemd-daemon || pkg-config --cflags libsystemd)
DEFINES += -DSDNOTIFY
-LIBS += $(shell pkg-config --libs libsystemd-daemon)
+LIBS += $(shell pkg-config --silence-errors --libs libsystemd-daemon || pkg-config --libs libsystemd)
endif
LIRC_DEVICE ?= /var/run/lirc/lircd