mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-01-16 13:41:20 +01:00
configure: Fix gobject handling
1) Explicitly depend on glib, too. 2) Don't link gobject into libcairo proper (thanks Joonas for noticing).
This commit is contained in:
parent
ae2b7b13cd
commit
e31b56e020
1 changed files with 2 additions and 2 deletions
|
|
@ -655,8 +655,8 @@ dnl ===========================================================================
|
|||
dnl Build gobject integration library
|
||||
|
||||
CAIRO_ENABLE_FUNCTIONS(gobject, gobject, auto, [
|
||||
gobject_REQUIRES="gobject-2.0"
|
||||
PKG_CHECK_MODULES(gobject, $gobject_REQUIRES, , [AC_MSG_RESULT(no)
|
||||
gobject_REQUIRES="gobject-2.0 glib-2.0"
|
||||
PKG_CHECK_MODULES(GOBJECT, $gobject_REQUIRES, , [AC_MSG_RESULT(no)
|
||||
use_gobject="no (requires $gobject_REQUIRES http://download.gnome.org/pub/GNOME/sources/glib/)"])
|
||||
])
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue