aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-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),)