summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
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)