When I use --with-zlib args for cross-compiling, it failed without "$(ZLIB_LDFLAGS)".

build system
Patch: rel1ve <rel1ve@hotmail.com>

This closes #2056
This commit is contained in:
rel1ve 2020-03-11 22:17:57 +08:00 committed by Jens Geyer
parent f8103c69ea
commit dd34c52813

View File

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