aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Hesse <mail@eworm.de>2018-05-16 12:18:56 +0200
committerChristian Hesse <mail@eworm.de>2018-05-16 12:18:56 +0200
commit4d7a7ea9026a370657dabc304a1888615f7aa12b (patch)
tree862a8eb7755907dcf3d7b374d424c60c6f71548f
parentupdate for ffmpeg 4.x (diff)
downloadmpd-notification-4d7a7ea9026a370657dabc304a1888615f7aa12b.tar.gz
mpd-notification-4d7a7ea9026a370657dabc304a1888615f7aa12b.tar.bz2
mpd-notification-4d7a7ea9026a370657dabc304a1888615f7aa12b.tar.xz
mpd-notification-4d7a7ea9026a370657dabc304a1888615f7aa12b.tar.zst
mpd-notification-4d7a7ea9026a370657dabc304a1888615f7aa12b.zip
build with iniparser headers in subdir
Fixes #20
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 4c2cd46..c56a3e9 100644
--- a/Makefile
+++ b/Makefile
@@ -9,6 +9,9 @@ RM := rm
# flags
CFLAGS += -std=c11 -O2 -fPIC -Wall -Werror
+ifneq ($(wildcard /usr/include/iniparser),)
+CFLAGS += -I/usr/include/iniparser
+endif
CFLAGS += -liniparser
CFLAGS_SYSTEMD := $(shell pkg-config --cflags --libs libsystemd 2>/dev/null)
ifneq ($(CFLAGS_SYSTEMD),)