From c57aba806120c61300fea66178624c16ce177741 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9gory=20Soutad=C3=A9?= Date: Tue, 28 Sep 2021 15:02:50 +0200 Subject: [PATCH] Fix an error in utils Makefile : forgot -lz in static build --- utils/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/utils/Makefile b/utils/Makefile index 07c8a49..9b2edfd 100644 --- a/utils/Makefile +++ b/utils/Makefile @@ -2,10 +2,11 @@ TARGETS=acsmdownloader adept_activate CXXFLAGS=-Wall `pkg-config --cflags Qt5Core Qt5Network` -fPIC -I$(ROOT)/include -I$(ROOT)/lib/pugixml/src/ +LDFLAGS=`pkg-config --libs Qt5Core Qt5Network` -L$(ROOT) -lcrypto -lzip -lz ifneq ($(STATIC_UTILS),) -LDFLAGS=`pkg-config --libs Qt5Core Qt5Network` -L$(ROOT) $(ROOT)/libgourou.a -lcrypto -lzip +LDFLAGS += $(ROOT)/libgourou.a else -LDFLAGS=`pkg-config --libs Qt5Core Qt5Network` -L$(ROOT) -lgourou -lcrypto -lzip -lz +LDFLAGS += -lgourou endif ifneq ($(DEBUG),)