diff options
author | Christian Hesse <mail@eworm.de> | 2024-05-21 13:36:18 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2024-05-21 13:36:18 +0200 |
commit | acae4d6a5bd4b5c2c643e9db2552800ec89c29ab (patch) | |
tree | 22bf238c053bca53d045b02b70ceb4410c95821c | |
parent | f06f5d185ca1ebeb3494e541b59715c4d5cb4fc1 (diff) | |
download | cqrlogo-iniparser-4-2-2.tar.gz cqrlogo-iniparser-4-2-2.tar.zst |
update include, use pkg-config for iniparserHEADiniparser-4-2-2main
... which ships required files with release 4.2.2.
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | lib/Makefile | 2 | ||||
-rw-r--r-- | lib/libcqrlogo.h | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -21,7 +21,7 @@ ZBARIMG := zbarimg # flags CFLAGS += -std=c11 -O2 -fPIC -Wall -Werror CFLAGSSTATIC = $(CFLAGS) -CFLAGSSTATIC += -liniparser +CFLAGSSTATIC += $(shell pkg-config --cflags --libs iniparser) CFLAGSSTATIC += $(shell pkg-config --cflags --libs libpng) CFLAGSSTATIC += $(shell pkg-config --cflags --libs zlib) CFLAGSSTATIC += $(shell pkg-config --cflags --libs libqrencode) 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 { |