Fix an error in utils Makefile : forgot -lz in static build

This commit is contained in:
Grégory Soutadé 2021-09-28 15:02:50 +02:00
parent 33ea9e7d65
commit c57aba8061

View File

@ -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),)