aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2017-01-05 16:17:04 +0100
committerGravatar Christian Hesse <mail@eworm.de>2017-01-05 16:17:04 +0100
commit6d9d889371a4c1852f12b2625ebff75fce033a8d (patch)
treecb8c1061e61c1a543e4a4ea873360c60e49bdb67 /Makefile
parentb27f35fa84f987e1f8d93f0318c926ba50ad7375 (diff)
downloadmpd-notification-6d9d889371a4c1852f12b2625ebff75fce033a8d.tar.gz
mpd-notification-6d9d889371a4c1852f12b2625ebff75fce033a8d.tar.zst
use systemd service manager notification
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 9332185..8d8905a 100644
--- a/Makefile
+++ b/Makefile
@@ -10,6 +10,7 @@ RM := rm
# flags
CFLAGS += -std=c11 -O2 -fPIC -Wall -Werror
CFLAGS += -liniparser
+CFLAGS += $(shell pkg-config --cflags --libs libsystemd)
CFLAGS += $(shell pkg-config --cflags --libs libmpdclient)
CFLAGS += $(shell pkg-config --cflags --libs libnotify)
LIBAV_CFLAGS := $(shell pkg-config --cflags --libs libavformat libavutil 2>/dev/null)