summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2016-12-01 21:35:18 +0100
committerGravatar Christian Hesse <mail@eworm.de>2016-12-01 21:35:18 +0100
commitb24304ebe9d45044db4798f904d55cc26bca977c (patch)
treec65dd1f1e3bb4c63be855143c6ddfd8522424c17 /Makefile
parentd95a2a13593224986628ceff346eed07007c199c (diff)
downloadpacredir-b24304ebe9d45044db4798f904d55cc26bca977c.tar.gz
pacredir-b24304ebe9d45044db4798f904d55cc26bca977c.tar.zst
Use systemd service manager notification
Notify systemd service manager when our initialization sequence completed.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index c33806f..4b59aa8 100644
--- a/Makefile
+++ b/Makefile
@@ -14,6 +14,7 @@ SED := sed
# flags
CFLAGS += -std=c11 -O2 -fPIC -Wall -Werror
CFLAGS_EXTRA += -lpthread
+CFLAGS_EXTRA += $(shell pkg-config --libs --cflags libsystemd)
CFLAGS_EXTRA += $(shell pkg-config --libs --cflags libcurl)
CFLAGS_EXTRA += $(shell pkg-config --libs --cflags avahi-client)
CFLAGS_EXTRA += $(shell pkg-config --libs --cflags libmicrohttpd)