aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
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 /Makefile
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 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 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)