From: Laszlo Boszormenyi (GCS) Date: Tue, 8 Jan 2019 21:31:07 +0000 (+0000) Subject: add zlib library to link with X-Git-Tag: archive/raspbian/0.13.0-6+rpi1~1^2^2~14 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=123d3e29100400785b00a738d5cd7732375187c0;p=thrift.git add zlib library to link with Need to specify which library contain the zlib functions during linking. Gbp-Pq: Name link_with_zlib.patch --- 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)