This is an automated email from the ASF dual-hosted git repository.
jensg pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/thrift.git
The following commit(s) were added to refs/heads/master by this push:
new dd34c52 When I use --with-zlib args for cross-compiling, it failed
without "$(ZLIB_LDFLAGS)". build system Patch: rel1ve <[email protected]>
dd34c52 is described below
commit dd34c5281344d0f1c10b2f7daddfb032bc6e5cb3
Author: rel1ve <[email protected]>
AuthorDate: Wed Mar 11 22:17:57 2020 +0800
When I use --with-zlib args for cross-compiling, it failed without
"$(ZLIB_LDFLAGS)".
build system
Patch: rel1ve <[email protected]>
This closes #2056
---
lib/cpp/Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/cpp/Makefile.am b/lib/cpp/Makefile.am
index f699f83..bcc6a09 100755
--- a/lib/cpp/Makefile.am
+++ b/lib/cpp/Makefile.am
@@ -126,7 +126,7 @@ libthriftnb_la_CXXFLAGS = $(AM_CXXFLAGS)
libthriftz_la_CXXFLAGS = $(AM_CXXFLAGS)
libthriftqt5_la_CXXFLAGS = $(AM_CXXFLAGS)
libthriftnb_la_LDFLAGS = -release $(VERSION) $(BOOST_LDFLAGS)
-libthriftz_la_LDFLAGS = -release $(VERSION) $(BOOST_LDFLAGS) $(ZLIB_LIBS)
+libthriftz_la_LDFLAGS = -release $(VERSION) $(BOOST_LDFLAGS) $(ZLIB_LDFLAGS)
$(ZLIB_LIBS)
libthriftqt5_la_LDFLAGS = -release $(VERSION) $(BOOST_LDFLAGS) $(QT5_LIBS)
include_thriftdir = $(includedir)/thrift