trivial test suite build system change: link with -lz

ENGINE-1001--3.x
positron 2022-04-07 16:19:22 +02:00
parent 33f1f2e518
commit c983952ccc
1 changed files with 4 additions and 0 deletions

View File

@ -123,6 +123,10 @@ ifeq ($(OPENPGP),SEQUOIA)
LDLIBS+=-lsequoia_openpgp_ffi
endif
# Link with libz at the end. This is needed on some configurations,
# particularly on static-only configurations, and harmless where not needed.
LDLIBS+=-lz
$(TARGET): $(OBJS)
${CXX} ${LDFLAGS} -L${PREFIX}/lib -o $@ $^ $(LDLIBS)