From 5fb5b34f5c2f5d0a3210708c04779367b1072c32 Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Wed, 4 Jan 2023 15:25:40 +0100 Subject: Adjust to new lib API --- common.mk | 3 +++ 1 file changed, 3 insertions(+) (limited to 'common.mk') diff --git a/common.mk b/common.mk index 5770d7d..cb4a426 100644 --- a/common.mk +++ b/common.mk @@ -97,6 +97,9 @@ LIBS+= \ CXXTYPE=g++ endif +CXXFLAGS+=$(shell pkg-config --cflags fmt) +LIBS+=$(shell pkg-config --libs fmt) + SRC_ROOT=$(shell echo $(MAKEFILE_LIST) | tr " " "\n" | grep common.mk | sed -e 's/\([^ ]*\)common.mk/\1/g') VERSION=$(shell dpkg-parsechangelog --show-field Version --file $(SRC_ROOT)/debian/changelog) CXXFLAGS+=-DVERSION=\"$(VERSION)\" -- cgit v1.2.3