aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--pacredir.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 7b4701c..bb6ac24 100644
--- a/Makefile
+++ b/Makefile
@@ -19,7 +19,7 @@ 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)
-CFLAGS_EXTRA += -liniparser
+CFLAGS_EXTRA += $(shell pkg-config --libs --cflags iniparser)
LDFLAGS += -Wl,-z,now -Wl,-z,relro -pie
# the distribution ID
diff --git a/pacredir.h b/pacredir.h
index 571ccc2..5be6295 100644
--- a/pacredir.h
+++ b/pacredir.h
@@ -44,7 +44,7 @@
/* various headers needing linker options */
#include <curl/curl.h>
-#include <iniparser.h>
+#include <iniparser/iniparser.h>
#include <microhttpd.h>
#include <pthread.h>