From 123d3e29100400785b00a738d5cd7732375187c0 Mon Sep 17 00:00:00 2001 From: "Laszlo Boszormenyi (GCS)" Date: Tue, 8 Jan 2019 21:31:07 +0000 Subject: [PATCH] add zlib library to link with Need to specify which library contain the zlib functions during linking. Gbp-Pq: Name link_with_zlib.patch --- test/cpp/Makefile | 4 ++-- test/cpp/Makefile.in | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test/cpp/Makefile b/test/cpp/Makefile index c0a8db4..d01bb98 100644 --- a/test/cpp/Makefile +++ b/test/cpp/Makefile @@ -712,13 +712,13 @@ src/TestClient.$(OBJEXT): src/$(am__dirstamp) \ TestClient$(EXEEXT): $(TestClient_OBJECTS) $(TestClient_DEPENDENCIES) $(EXTRA_TestClient_DEPENDENCIES) @rm -f TestClient$(EXEEXT) - $(AM_V_CXXLD)$(CXXLINK) $(TestClient_OBJECTS) $(TestClient_LDADD) $(LIBS) + $(AM_V_CXXLD)$(CXXLINK) $(TestClient_OBJECTS) $(TestClient_LDADD) $(LIBS) $(ZLIB_LIBS) src/TestServer.$(OBJEXT): src/$(am__dirstamp) \ src/$(DEPDIR)/$(am__dirstamp) TestServer$(EXEEXT): $(TestServer_OBJECTS) $(TestServer_DEPENDENCIES) $(EXTRA_TestServer_DEPENDENCIES) @rm -f TestServer$(EXEEXT) - $(AM_V_CXXLD)$(CXXLINK) $(TestServer_OBJECTS) $(TestServer_LDADD) $(LIBS) + $(AM_V_CXXLD)$(CXXLINK) $(TestServer_OBJECTS) $(TestServer_LDADD) $(LIBS) $(ZLIB_LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) diff --git a/test/cpp/Makefile.in b/test/cpp/Makefile.in index edbb346..964d5fb 100644 --- a/test/cpp/Makefile.in +++ b/test/cpp/Makefile.in @@ -712,13 +712,13 @@ src/TestClient.$(OBJEXT): src/$(am__dirstamp) \ TestClient$(EXEEXT): $(TestClient_OBJECTS) $(TestClient_DEPENDENCIES) $(EXTRA_TestClient_DEPENDENCIES) @rm -f TestClient$(EXEEXT) - $(AM_V_CXXLD)$(CXXLINK) $(TestClient_OBJECTS) $(TestClient_LDADD) $(LIBS) + $(AM_V_CXXLD)$(CXXLINK) $(TestClient_OBJECTS) $(TestClient_LDADD) $(LIBS) $(ZLIB_LIBS) src/TestServer.$(OBJEXT): src/$(am__dirstamp) \ src/$(DEPDIR)/$(am__dirstamp) TestServer$(EXEEXT): $(TestServer_OBJECTS) $(TestServer_DEPENDENCIES) $(EXTRA_TestServer_DEPENDENCIES) @rm -f TestServer$(EXEEXT) - $(AM_V_CXXLD)$(CXXLINK) $(TestServer_OBJECTS) $(TestServer_LDADD) $(LIBS) + $(AM_V_CXXLD)$(CXXLINK) $(TestServer_OBJECTS) $(TestServer_LDADD) $(LIBS) $(ZLIB_LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) -- 2.30.2