diff options
author | Christian Hesse <mail@eworm.de> | 2018-05-16 12:18:56 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2018-05-16 12:18:56 +0200 |
commit | 4d7a7ea9026a370657dabc304a1888615f7aa12b (patch) | |
tree | 862a8eb7755907dcf3d7b374d424c60c6f71548f | |
parent | 06d4b9b7a160ee1fbdc419f16dd6b8c9277288a8 (diff) | |
download | mpd-notification-4d7a7ea9026a370657dabc304a1888615f7aa12b.tar.gz mpd-notification-4d7a7ea9026a370657dabc304a1888615f7aa12b.tar.zst |
build with iniparser headers in subdir
Fixes #20
-rw-r--r-- | Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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),) |