aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2024-05-21 13:36:18 +0200
committerGravatar Christian Hesse <mail@eworm.de>2024-05-21 13:36:18 +0200
commitacae4d6a5bd4b5c2c643e9db2552800ec89c29ab (patch)
tree22bf238c053bca53d045b02b70ceb4410c95821c /lib
parentf06f5d185ca1ebeb3494e541b59715c4d5cb4fc1 (diff)
downloadcqrlogo-main.tar.gz
cqrlogo-main.tar.zst
update include, use pkg-config for iniparserHEADiniparser-4-2-2main
... which ships required files with release 4.2.2.
Diffstat (limited to 'lib')
-rw-r--r--lib/Makefile2
-rw-r--r--lib/libcqrlogo.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/Makefile b/lib/Makefile
index 068a482..952bdb4 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -6,7 +6,7 @@ LN := ln
# flags
CFLAGS += -std=c11 -O2 -fPIC -Wall -Werror
-CFLAGS += -liniparser
+CFLAGS += $(shell pkg-config --cflags --libs iniparser)
CFLAGS += $(shell pkg-config --cflags --libs libpng)
CFLAGS += $(shell pkg-config --cflags --libs zlib)
CFLAGS += $(shell pkg-config --cflags --libs libqrencode)
diff --git a/lib/libcqrlogo.h b/lib/libcqrlogo.h
index 102975b..02ce0cf 100644
--- a/lib/libcqrlogo.h
+++ b/lib/libcqrlogo.h
@@ -30,7 +30,7 @@
#include <png.h>
#include <zlib.h>
#include <qrencode.h>
-#include <iniparser.h>
+#include <iniparser/iniparser.h>
/* a bitmap */
struct cqr_bitmap {