aboutsummaryrefslogtreecommitdiffstats
path: root/lib/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 /lib/Makefile
parentf06f5d185ca1ebeb3494e541b59715c4d5cb4fc1 (diff)
downloadcqrlogo-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.
Diffstat (limited to 'lib/Makefile')
-rw-r--r--lib/Makefile2
1 files changed, 1 insertions, 1 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)