From 7a858140c0aa43a972b2be0ee920c9bfe4ef94a8 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Tue, 21 May 2024 11:22:14 +0200 Subject: update include, use pkg-config for iniparser ... which ships required files with release 4.2.2. --- Makefile | 2 +- pacredir.h | 2 +- 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 -#include +#include #include #include -- cgit v1.2.3-70-g09d2