mirror of
https://github.com/Gnucash/gnucash.git
synced 2024-11-23 09:26:27 -06:00
Bug #536299 – Fix missing explicit linking of libz
Patch by andi5. BP git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17683 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
3ff34c4f12
commit
01535b8bdd
13
configure.in
13
configure.in
@ -532,6 +532,19 @@ AC_CHECK_LIB(xml2, xmlElemDump, [:], [
|
||||
])
|
||||
LIBS="$oLIBS"
|
||||
|
||||
### --------------------------------------------------------------------------
|
||||
### Zlib
|
||||
|
||||
ZLIB_LIBS=-lz
|
||||
AC_SUBST(ZLIB_LIBS)
|
||||
|
||||
oLIBS="$LIBS"
|
||||
LIBS="$LIBS $ZLIB_LIBS"
|
||||
AC_CHECK_LIB(z, gzopen, [:], [
|
||||
AC_MSG_ERROR([zlib is required for GnuCash])
|
||||
])
|
||||
LIBS="$oLIBS"
|
||||
|
||||
### --------------------------------------------------------------------------
|
||||
### QOF, the Query Object Framework. Check if there is a native version.
|
||||
|
||||
|
@ -59,14 +59,14 @@ noinst_HEADERS = \
|
||||
sixtp-utils.h
|
||||
|
||||
libgnc_backend_xml_utils_la_LIBADD = \
|
||||
${GLIB_LIBS} ${GCONF_LIBS} ${LIBXML2_LIBS} \
|
||||
${GLIB_LIBS} ${GCONF_LIBS} ${LIBXML2_LIBS} ${ZLIB_LIBS} \
|
||||
${top_builddir}/src/engine/libgncmod-engine.la \
|
||||
${top_builddir}/src/core-utils/libgnc-core-utils.la \
|
||||
${QOF_LIBS}
|
||||
|
||||
libgncmod_backend_xml_la_LDFLAGS = -module -avoid-version
|
||||
libgncmod_backend_xml_la_LIBADD = \
|
||||
${GLIB_LIBS} ${GCONF_LIBS} ${LIBXML2_LIBS} \
|
||||
${GLIB_LIBS} ${GCONF_LIBS} ${LIBXML2_LIBS} ${ZLIB_LIBS} \
|
||||
${top_builddir}/src/engine/libgncmod-engine.la \
|
||||
${top_builddir}/src/core-utils/libgnc-core-utils.la \
|
||||
libgnc-backend-xml-utils.la \
|
||||
|
Loading…
Reference in New Issue
Block a user