From acae4d6a5bd4b5c2c643e9db2552800ec89c29ab Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Tue, 21 May 2024 13:36:18 +0200 Subject: update include, use pkg-config for iniparser ... which ships required files with release 4.2.2. --- Makefile | 2 +- lib/Makefile | 2 +- lib/libcqrlogo.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 1013807..b1ca9e3 100644 --- a/Makefile +++ b/Makefile @@ -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 #include #include -#include +#include /* a bitmap */ struct cqr_bitmap { -- cgit v1.2.3-70-g09d2