mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
Add zlib dependency to gio
Will be used by compression APIs
This commit is contained in:
parent
fce2873641
commit
8cb1252d92
11
configure.in
11
configure.in
@ -457,6 +457,17 @@ fi
|
|||||||
AC_MSG_RESULT($enable_iconv_cache)
|
AC_MSG_RESULT($enable_iconv_cache)
|
||||||
|
|
||||||
|
|
||||||
|
dnl
|
||||||
|
dnl zlib support
|
||||||
|
dnl
|
||||||
|
found_zlib=no
|
||||||
|
AC_CHECK_LIB(z, inflate, [AC_CHECK_HEADER(zlib.h, found_zlib=yes)])
|
||||||
|
|
||||||
|
if test "x$found_zlib" = "xno" ; then
|
||||||
|
AC_MSG_ERROR([*** Working zlib library and headers not found ***])
|
||||||
|
fi
|
||||||
|
ZLIB_LIBS='-lz'
|
||||||
|
AC_SUBST(ZLIB_LIBS)
|
||||||
dnl
|
dnl
|
||||||
dnl gettext support
|
dnl gettext support
|
||||||
dnl
|
dnl
|
||||||
|
@ -10,4 +10,5 @@ Description: glib I/O library
|
|||||||
Version: @VERSION@
|
Version: @VERSION@
|
||||||
Requires: glib-2.0,gobject-2.0,gmodule-no-export-2.0
|
Requires: glib-2.0,gobject-2.0,gmodule-no-export-2.0
|
||||||
Libs: -L${libdir} -lgio-2.0
|
Libs: -L${libdir} -lgio-2.0
|
||||||
|
Libs.private: @ZLIB_LIBS@
|
||||||
Cflags:
|
Cflags:
|
||||||
|
@ -284,6 +284,7 @@ libgio_2_0_la_LIBADD = \
|
|||||||
$(top_builddir)/gobject/libgobject-2.0.la \
|
$(top_builddir)/gobject/libgobject-2.0.la \
|
||||||
$(top_builddir)/gmodule/libgmodule-2.0.la \
|
$(top_builddir)/gmodule/libgmodule-2.0.la \
|
||||||
$(platform_libadd) \
|
$(platform_libadd) \
|
||||||
|
$(ZLIB_LIBS) \
|
||||||
$(SELINUX_LIBS) \
|
$(SELINUX_LIBS) \
|
||||||
$(GLIB_LIBS) \
|
$(GLIB_LIBS) \
|
||||||
$(XATTR_LIBS) \
|
$(XATTR_LIBS) \
|
||||||
|
Loading…
Reference in New Issue
Block a user